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 chat

  • chat (Chat) – The chat containing the message the user reacted to

  • from_user (User, optional) – The user that changed the reaction, if the user isn’t anonymous

  • actor_chat (Chat, optional) – The chat on behalf of which the reaction was changed, if the user is anonymous

  • date (datetime) – Date of change of the reaction

  • old_reaction (ReactionType) – Previous list of reaction types that were set by the user

  • new_reaction (ReactionType) – New list of reaction types that have been set by the user