onSendReactionRequest

open suspend override fun onSendReactionRequest(cid: String?, reaction: Reaction, enforceUnique: 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.

currentUser

The currently logged in user.