MessageReactionUpdated
This object represents a change of a reaction on a message performed by a user.
fields
| field | type | required | description |
|---|---|---|---|
chat | Chat | required | The chat containing the message the user reacted to |
message_id | number | required | Unique identifier of the message inside the chat |
user | User | optional | Optional. The user that changed the reaction, if the user isn't anonymous |
actor_chat | Chat | optional | Optional. The chat on behalf of which the reaction was changed, if the user is anonymous |
date | number | required | Date of the change in Unix time |
old_reaction | ReactionType[] | required | Previous list of reaction types that were set by the user |
new_reaction | ReactionType[] | required | New list of reaction types that have been set by the user |
import
import type { MessageReactionUpdated } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#messagereactionupdated