ReactionCount

class pyrogram.raw.types.ReactionCount

Reactions

Constructor of ReactionCount.

Details:
  • Layer: 223

  • ID: A3D1CB80

Parameters:
  • reaction (Reaction) – The reaction.

  • count (int 32-bit) – Number of users that reacted with this emoji.

  • chosen_order (int 32-bit, optional) – If set, indicates that the current user also sent this reaction. The integer value indicates when was the reaction added: the bigger the value, the newer the reaction.

TL Schema

reactionCount#a3d1cb80
flags:#
chosen_order:flags.0?int
reaction:Reaction
count:int

= ReactionCount

Parameter Tree

ReactionCount
├── chosen_orderint (optional)
├── reactionReaction
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticonstring
│ ├── ReactionCustomEmoji
│ │ └── document_idlong
│ └── ReactionPaid
└── countint

Example

ReactionCount(
    reaction=ReactionEmpty(),
    count=0,
)