mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image |
---|---|---|---|
updateBotMessageReaction | Bots only: a user has changed their reactions on a message with public reactions. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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];