MessagePeerReaction

class pyrogram.types.MessagePeerReaction[source]

Contains information about a reaction added to a message by a peer.

Parameters:
  • user (User, optional) – The user who reacted to the message, if the reaction was added by a user.

  • chat (Chat, optional) – The chat / channel that reacted to the message, if sent as a channel.

  • reaction (Reaction) – The reaction added to the message.

  • date (datetime) – Date the reaction was added.

  • big (bool, optional) – True, if a bigger / animated reaction effect was used.

  • unread (bool, optional) – True, if the reaction is unread by the current user.

  • my (bool, optional) – True, if this reaction was sent by the current user.