interface MessageReactionUpdated

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

Properties

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

Previous list of reaction types that were set by the user

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

Usage

import { type MessageReactionUpdated } from "types";