Module

x/grammy_types/message.ts>MessageReactionUpdated

Type declarations of the Telegram Bot API.
Latest
interface MessageReactionUpdated
import { type MessageReactionUpdated } from "https://dotland.deno.dev/x/grammy_types@v3.15.0/message.ts";

This object represents a change of a reaction on a message performed by a user.

Properties

chat: Chat

The chat containing the message the user reacted to

message_id: number

Unique identifier of the message inside the chat

optional
user: User

The user that changed the reaction, if the user isn't anonymous

optional
actor_chat: Chat

The chat on behalf of which the reaction was changed, if the user is anonymous

date: number

Date of the change in Unix time

old_reaction: ReactionType[]

Previous list of reaction types that were set by the user

new_reaction: ReactionType[]

New list of reaction types that have been set by the user