addReaction
Make a reaction to a message.
Parameters
chatId: number
The identifier of the chat which the message belongs to.
messageId: number
The identifier of the message to add the reaction to.
The reaction to add.
big?: boolean
Whether to make the new reaction more notable.
addToRecents?: boolean
Whether to add the reaction to recent reactions.
Result
void
Syntax
// Required parameters only.
await client.addReaction(chatId, messageId, reaction);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.addReaction(chatId, messageId, reaction, {
big,
addToRecents,
});