Link Search Menu Expand Document

Constructor: messageReactor

Back to constructors index

Info about a user in the paid Star reactions leaderboard for a message.

Attributes:

NameTypeRequiredDescription
topBoolOptionalIf set, the reactor is one of the most active reactors; may be unset if the reactor is the current user.
myBoolOptionalIf set, this reactor is the current user.
anonymousBoolOptionalIf set, the reactor is anonymous.
peer_idPeerOptionalIdentifier of the peer that reacted: may be unset for anonymous reactors different from the current user (i.e. if the current user sent an anonymous reaction anonymous will be set but this field will also be set).
countintYesThe number of sent Telegram Stars.

Type: MessageReactor

Example:

$messageReactor = ['_' => 'messageReactor', 'top' => Bool, 'my' => Bool, 'anonymous' => Bool, 'peer_id' => Peer, 'count' => int];