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.

reaction: Reaction

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,
});