reactToMessage

fun reactToMessage(reaction: Reaction, message: Message, skipPush: Boolean = false)

Triggered when the user selects a reaction for the currently selected message. If the message already has that reaction, from the current user, we remove it. Otherwise we add a new reaction.

Parameters

reaction

The reaction to add or remove.

message

The currently selected message.

skipPush

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