SendReactionListener
interface SendReactionListener
Listener for io.getstream.chat.android.client.ChatClient.sendReaction calls.
Inheritors
Functions
Link copied to clipboard
abstract suspend fun onSendReactionPrecondition(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.
Link copied to clipboard
abstract suspend fun onSendReactionRequest(cid: String?, reaction: Reaction, enforceUnique: Boolean, currentUser: User)
A method called before making an API call to send the reaction.
Link copied to clipboard