ReactionCount
- class pyrogram.raw.types.ReactionCount
Reactions
Constructor of
ReactionCount.- Details:
Layer:
223ID:
A3D1CB80
- Parameters:
reaction (
Reaction) – The reaction.count (
int32-bit) – Number of users that reacted with this emoji.chosen_order (
int32-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_order →
int (optional)├── reaction →
Reaction│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ │ └── emoticon →
string│ ├──
ReactionCustomEmoji│ │ └── document_id →
long│ └──
ReactionPaid└── count →
intExample
ReactionCount(
reaction=ReactionEmpty(),
count=0,
)