setReactions

Change reactions made 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.

reactions: Reaction[]

The new reactions.

big?: boolean

Whether to make the new reactions more notable.

Result

void

Syntax

// Required parameters only.
await client.setReactions(chatId, messageId, reactions);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setReactions(chatId, messageId, reactions, { big });