telegramx.js

MessageReactionUpdated

interface

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

Declaration

interface MessageReactionUpdated 

Properties

actor_chatproperty#
actor_chat?: Chat;

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

chatproperty#
chat: Chat;

The chat containing the message the user reacted to

dateproperty#
date: number;

Date of the change in Unix time

message_idproperty#
message_id: number;

Unique identifier of the message inside the chat

new_reaction: ReactionType[];

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

old_reaction: ReactionType[];

Previous list of reaction types that were set by the user

userproperty#
user?: User;

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