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

1.2 KiB

title description nav_exclude image
updateBotMessageReactions Bots only: the number of reactions on a message with anonymous reactions has changed. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateBotMessageReactions

Back to constructors index

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

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.
reactions Array of ReactionCount Yes New reaction counters.
qts int Yes QTS event sequence identifier

Type: Update

Example:

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