All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.sceyt.chatuikit.persistence.repositories.ReactionsRepository.kt Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.sceyt.chatuikit.persistence.repositories

import com.sceyt.chatuikit.data.models.SceytResponse
import com.sceyt.chatuikit.data.models.messages.SceytMessage
import com.sceyt.chatuikit.data.models.messages.SceytReaction

interface ReactionsRepository {
    suspend fun getReactions(messageId: Long, key: String): SceytResponse>
    suspend fun loadMoreReactions(messageId: Long, key: String): SceytResponse>
    suspend fun addReaction(channelId: Long, messageId: Long, key: String, score: Int,
                            reason: String, enforceUnique: Boolean): SceytResponse

    suspend fun deleteReaction(channelId: Long, messageId: Long, scoreKey: String): SceytResponse
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy