onSendReactionPrecondition
abstract suspend fun onSendReactionPrecondition(cid: String?, currentUser: User?, reaction: Reaction): Result<Unit>
Runs precondition check for ChatClient.sendReaction. The request will be run if the method returns Result.Success and won't be made if it returns Result.Failure.
Parameters
cid
The full channel id, i.e. "messaging:123".
currentUser
The currently logged in user.
reaction
The Reaction to send.