Skip to content

GramIO API Reference / gramio/dist / SetMessageReactionParams

Interface: SetMessageReactionParams

Defined in: @gramio/types/out/params.d.ts:1635

Params object for setMessageReaction method

Properties

PropertyTypeDescriptionDefined in
chat_idstring | numberUnique identifier for the target chat or username of the target channel (in the format @channelusername)@gramio/types/out/params.d.ts:1639
is_big?booleanPass True to set the reaction with a big animation@gramio/types/out/params.d.ts:1651
message_idnumberIdentifier 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.@gramio/types/out/params.d.ts:1643
reaction?TelegramReactionType[]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.@gramio/types/out/params.d.ts:1647