getMessageReactions

Get a list of reactions made to a message. USER-ONLY

Parameters

chatId: ID

The identifier of a chat.

messageId: number

The identifier of the message.

reaction?: Reaction

A reaction. If specified, only reactions of this type will be returned.

offset?: string

A value returned from the field nextOffset of the results. If specified, the retrieval will start from there.

limit?: number

The maximum number of results to return. Must be in the range of 1-100. Defaults to 100.

Result

Syntax

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

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.getMessageReactions(chatId, messageId, {
    reaction,
    offset,
    limit,
});