onSendReactionResult
abstract suspend fun onSendReactionResult(cid: String?, reaction: Reaction, enforceUnique: Boolean, currentUser: User, result: Result<Reaction>)
A method called after receiving the response from the send reaction call.
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.
result
The API call result.