telegramx.js

SetMessageReactionParams

interface

Declaration

interface SetMessageReactionParams 

Properties

chat_idproperty#
chat_id: number | string;

Unique identifier for the target chat or username of the target bot, supergroup or channel in the format

is_bigproperty#
is_big?: boolean;

Pass True to set the reaction with a big animation

message_idproperty#
message_id: number;

Identifier of the target message. If the message belongs to a media group, the reaction is set to the first non-deleted message in the group instead.

reactionproperty#
reaction?: ReactionType[];

A JSON-serialized list of reaction types to set on the message. Currently, as non-premium users, bots can set up to one reaction per message. A custom emoji reaction can be used if it is either already present on the message or explicitly allowed by chat administrators. Paid reactions can't be used by bots.