main.com.sceyt.chatuikit.persistence.repositories.ReactionsRepository.kt Maven / Gradle / Ivy
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
}