Delete a message reaction
The serial of the message to remove the reaction from.
Optional
params: DeleteMessageReactionParamsThe type of reaction annotation and the specific reaction to remove. The reaction to remove is required for all types except MessageReactionType.Unique.
A promise that resolves when the reaction is deleted.
Add a message reactions
The serial of the message to react to
Describe the reaction to add.
A promise that resolves when the reaction is added.
Subscribe to message reaction summaries. Use this to keep message reaction counts up to date efficiently in the UI.
The listener to call when a message reaction summary is received.
A subscription object that should be used to unsubscribe.
Subscribe to individual reaction events.
The listener to call when a message reaction event is received.
A subscription object that should be used to unsubscribe.
If you only need to keep track of reaction counts and clients, use subscribe instead.
Add, delete, and subscribe to message reactions.