onSendReactionRequest

open suspend override fun onSendReactionRequest(cid: String?, reaction: Reaction, enforceUnique: Boolean, skipPush: Boolean, currentUser: User)

A method called before making an API call to send the reaction.

Parameters

cid

The full channel id, i.e. "messaging:123".

reaction

The Reaction to send.

enforceUnique

Flag to determine whether the reaction should replace other ones added by the current user.

skipPush

If set to "true", skips sending push notification when reacting to a message.

currentUser

The currently logged in user.