Skip to content

Reaction experimental

API

Add Reaction

POST /reaction.create
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emojistringreaction emoji

Add a reaction to a specific message.

Remove Reaction

POST /reaction.delete
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emojistringreaction emoji
user_idstring?user id

Remove a specific reaction added by a user from a specific message. If no user id is provided, it removes the reaction added by the current user.

Clear Reactions

POST /reaction.clear
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emojistring?reaction emoji

Clear a specific reaction from a specific message. If no emoji is provided, it clears all reactions.

Get Reaction List

POST /reaction.list
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emojistringreaction emoji
nextstring?pagination token

Get all the users who added a specific reaction to a specific message. Returns a paginated list of User objects.

Events

reaction-added

Triggered when a reaction is added.

reaction-removed

Triggered when a reaction is removed.