MadelineProtoDocs/docs/API_docs/constructors/reactionCount.md
2024-05-01 14:53:46 +02:00

980 B

title description nav_exclude image
reactionCount Reactions true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: reactionCount

Back to constructors index

Reactions

Attributes:

Name Type Required Description
chosen_order int 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.
reaction Reaction Optional The reaction.
count int Yes Number of users that reacted with this emoji.

Type: ReactionCount

Example:

$reactionCount = ['_' => 'reactionCount', 'chosen_order' => int, 'reaction' => Reaction, 'count' => int];