MadelineProtoDocs/docs/API_docs/constructors/updateBotMessageReaction.md
2024-05-01 14:53:46 +02:00

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

Back to constructors index

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];