UpdateBotMessageReactions
- class pyrogram.raw.types.UpdateBotMessageReactions
Bots only: the number of reactions on a message with anonymous reactions has changed.
Constructor of
Update.- Details:
Layer:
223ID:
9CB7759
- Parameters:
peer (
Peer) – Peer of the reacted-to message.msg_id (
int32-bit) – ID of the reacted-to message.date (
int32-bit) – Date of the change.reactions (List of
ReactionCount) – New reaction counters.qts (
int32-bit) – QTS event sequence identifier
TL Schema
updateBotMessageReactions#9cb7759
peer:Peer
msg_id:int
date:int
reactions:Vector<ReactionCount>
qts:int
= Update
Parameter Tree
UpdateBotMessageReactions
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── msg_id →
int├── date →
int├── reactions →
Vector < ReactionCount >│ └──
ReactionCount│ ├── chosen_order →
int (optional)│ ├── reaction →
Reaction│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ │ └── emoticon →
string│ │ ├──
ReactionCustomEmoji│ │ │ └── document_id →
long│ │ └──
ReactionPaid│ └── count →
int└── qts →
intExample
UpdateBotMessageReactions(
peer=PeerUser(user_id=0),
msg_id=0,
date=0,
reactions=[
ReactionCount(
reaction=ReactionEmpty(),
count=0
)
],
qts=0,
)