Skip to content

Reaction Experimental

API

Add Reaction

POST /reaction.create
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emoji_idstringemoji id

Add a reaction to a specific message.

Remove Reaction

POST /reaction.delete
FIELDTYPEDESCRIPTION
channel_idstringchannel id
message_idstringmessage id
emoji_idstringemoji id
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
emoji_idstring?emoji id

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
emoji_idstringemoji id
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. Required resources: emoji.

reaction-removed

Triggered when a reaction is removed. Required resources: emoji.