Skip to main content

Module message_reactions_api

Module message_reactions_api 

Source

Enums§

DeleteMessageReactionError
struct for typed errors of method delete_message_reaction
GetClientReactionsError
struct for typed errors of method get_client_reactions
SendMessageReactionError
struct for typed errors of method send_message_reaction

Functions§

delete_message_reaction
Removes a reaction from a message. For unique reactions the name is not required; for distinct and multiple reactions the name is required.
get_client_reactions
Returns the reaction summary filtered to a single client. Useful when a message’s reaction summary is clipped (too many reacting clients) and you need to determine whether a specific client has reacted.
send_message_reaction
Adds a reaction to a message. Behaviour depends on the reaction type: unique (at most one reaction per client), distinct (at most one of each named reaction per client), multiple (repeatable, counted by count).