method ApiMethods.setMessageReaction
ApiMethods.setMessageReaction(args: { chat_id: number | string; message_id: number; reaction?: ReactionType[]; is_big?: boolean; }): true

Use this method to change the chosen reactions on a message. Service messages of some types can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Bots can't use paid reactions. Returns True on success.

Parameters

args: { chat_id: number | string; message_id: number; reaction?: ReactionType[]; is_big?: boolean; }

Return Type

true

Usage

import { type ApiMethods } from "types";