Skip to main content
Very Popular
Go to Latest
interface MessageReactionUpdated
Re-export
import { type MessageReactionUpdated } from "https://deno.land/x/grammy@v1.21.2/types.web.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