selectUserReactionToMessage

abstract suspend fun selectUserReactionToMessage(reactionType: String, messageId: String, userId: String): Reaction?

Selects the reaction of given type to the message if exists.

Return

Reaction if exists, null otherwise.

Parameters

reactionType

The type of reaction.

messageId

The id of the message to which reaction belongs.

userId

The id of the user who is the owner of reaction.