MessageReactionUpdated#
- class aiogram.types.message_reaction_updated.MessageReactionUpdated(*, chat: Chat, message_id: int, date: datetime, old_reaction: List[ReactionTypeEmoji | ReactionTypeCustomEmoji], new_reaction: List[ReactionTypeEmoji | ReactionTypeCustomEmoji], user: User | None = None, actor_chat: Chat | None = None, **extra_data: Any)[source]#
This object represents a change of a reaction on a message performed by a user.
Source: https://core.telegram.org/bots/api#messagereactionupdated
- message_id: int#
Unique identifier of the message inside the chat
- date: DateTime#
Date of the change in Unix time
- old_reaction: List[ReactionTypeEmoji | ReactionTypeCustomEmoji]#
Previous list of reaction types that were set by the user
- model_computed_fields: ClassVar[dict[str, ComputedFieldInfo]] = {}#
A dictionary of computed field names and their corresponding ComputedFieldInfo objects.
- model_post_init(_ModelMetaclass__context: Any) None #
We need to both initialize private attributes and call the user-defined model_post_init method.
- new_reaction: List[ReactionTypeEmoji | ReactionTypeCustomEmoji]#
New list of reaction types that have been set by the user