Link Search Menu Expand Document

Constructor: reactionCount

Back to constructors index

Reactions

Attributes:

NameTypeRequiredDescription
chosen_orderintOptionalIf 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.
reactionReactionOptionalThe reaction.
countintYesNumber of users that reacted with this emoji.

Type: ReactionCount

Example:

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