Constructor: updateBotMessageReaction
Bots only: a user has changed their reactions on a message with public reactions.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
peer | long | Yes | Peer of the reacted-to message. |
msg_id | int | Yes | ID of the reacted-to message. |
date | int | Yes | Date of the change. |
actor | Peer | Yes | The user that (un)reacted to the message. |
old_reactions | Array of Reaction | Yes | Old reactions |
new_reactions | Array of Reaction | Yes | New reactions |
qts | int | Yes | QTS event sequence identifier |
Type: Update
Example:
$updateBotMessageReaction = ['_' => 'updateBotMessageReaction', 'peer' => long, 'msg_id' => int, 'date' => int, 'actor' => Peer, 'old_reactions' => [Reaction, Reaction], 'new_reactions' => [Reaction, Reaction], 'qts' => int];