ReactionRepositoryImpl

class ReactionRepositoryImpl(selfUserId: <Error class: unknown class>, reactionsDAO: <Error class: unknown class>, reactionsMapper: ReactionsMapper = MapperProvider.reactionsMapper()) : ReactionRepository

Constructors

Link copied to clipboard
constructor(selfUserId: <Error class: unknown class>, reactionsDAO: <Error class: unknown class>, reactionsMapper: ReactionsMapper = MapperProvider.reactionsMapper())

Functions

Link copied to clipboard
open suspend override fun deleteReaction(originalMessageId: String, conversationId: <Error class: unknown class>, senderUserId: <Error class: unknown class>, emoji: String): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun getSelfUserReactionsForMessage(originalMessageId: String, conversationId: <Error class: unknown class>): Either<StorageFailure, <Error class: unknown class>>
Link copied to clipboard
open suspend override fun observeMessageReactions(conversationId: <Error class: unknown class>, messageId: String): <Error class: unknown class><List<<Error class: unknown class>>>
Link copied to clipboard
open suspend override fun persistReaction(originalMessageId: String, conversationId: <Error class: unknown class>, senderUserId: <Error class: unknown class>, instant: <Error class: unknown class>, emoji: String): Either<StorageFailure, Unit>
Link copied to clipboard
open suspend override fun updateReaction(originalMessageId: String, conversationId: <Error class: unknown class>, senderUserId: <Error class: unknown class>, instant: <Error class: unknown class>, userReactions: <Error class: unknown class>): Either<StorageFailure, Unit>