Link Search Menu Expand Document

Constructor: updateBotMessageReactions

Back to constructors index

Bots only: the number of reactions on a message with anonymous reactions has changed.

Attributes:

NameTypeRequiredDescription
peerlongYesPeer of the reacted-to message.
msg_idintYesID of the reacted-to message.
dateintYesDate of the change.
reactionsArray of ReactionCountYesNew reaction counters.
qtsintYesQTS event sequence identifier

Type: Update

Example:

$updateBotMessageReactions = ['_' => 'updateBotMessageReactions', 'peer' => long, 'msg_id' => int, 'date' => int, 'reactions' => [ReactionCount, ReactionCount], 'qts' => int];