ReactionRepository
Functions
Link copied to clipboard
Deletes a reaction.
Link copied to clipboard
Inserts a reaction.
Link copied to clipboard
Selects reaction with specified id.
Link copied to clipboard
Selects all reaction ids with specific SyncStatus.
Link copied to clipboard
Link copied to clipboard
Selects all reactions with specific SyncStatus
Link copied to clipboard
abstract suspend fun selectUserReactionsToMessage(messageId: String, userId: String): List<Reaction>
Selects all current user reactions of a message.
Link copied to clipboard
abstract suspend fun selectUserReactionToMessage(reactionType: String, messageId: String, userId: String): Reaction?
Selects the reaction of given type to the message if exists.
Link copied to clipboard
abstract suspend fun updateReactionsForMessageByDeletedDate(userId: String, messageId: String, deletedAt: Date)
Updates the Reaction.deletedAt for reactions of a message.