MessageReactionUpdated¶
- class pyrogram.types.MessageReactionUpdated¶
This object represents a change of a reaction on a message performed by a user. A reaction to a message was changed by a user. The update isn’t received for reactions set by bots.
These updates are heavy and their changes may be delayed by a few minutes.
- Parameters:¶
id (
int
) – Unique identifier of the message inside the chatchat (
Chat
) – The chat containing the message the user reacted tofrom_user (
User
, optional) – The user that changed the reaction, if the user isn’t anonymousactor_chat (
Chat
, optional) – The chat on behalf of which the reaction was changed, if the user is anonymousdate (
datetime
) – Date of change of the reactionold_reaction (
Reaction
) – Previous list of reaction types that were set by the usernew_reaction (
Reaction
) – New list of reaction types that have been set by the user