UpdateMessageReactions
- class pyrogram.raw.types.UpdateMessageReactions
New message reactions » are available
Constructor of
Update.- Details:
Layer:
223ID:
1E297BFA
- Parameters:
peer (
Peer) – Peermsg_id (
int32-bit) – Message IDreactions (
MessageReactions) – Reactionstop_msg_id (
int32-bit, optional) – Forum topic IDsaved_peer_id (
Peer, optional) – If set, the reactions are in the specified monoforum topic ».
TL Schema
updateMessageReactions#1e297bfa
flags:#
peer:Peer
msg_id:int
top_msg_id:flags.0?int
saved_peer_id:flags.1?Peer
reactions:MessageReactions
= Update
Parameter Tree
UpdateMessageReactions
├── peer →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── msg_id →
int├── top_msg_id →
int (optional)├── saved_peer_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long└── reactions →
MessageReactions└──
MessageReactions├── min →
true (optional)├── can_see_list →
true (optional)├── reactions_as_tags →
true (optional)├── results →
Vector < ReactionCount >│ └──
ReactionCount│ ├── chosen_order →
int (optional)│ ├── reaction →
Reaction│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ ├──
ReactionCustomEmoji│ │ └──
ReactionPaid│ └── count →
int├── recent_reactions →
Vector < MessagePeerReaction > (optional)│ └──
MessagePeerReaction│ ├── big →
true (optional)│ ├── unread →
true (optional)│ ├── my →
true (optional)│ ├── peer_id →
Peer│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── date →
int│ └── reaction →
Reaction│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ ├──
ReactionCustomEmoji│ └──
ReactionPaid└── top_reactors →
Vector < MessageReactor > (optional)└──
MessageReactor├── top →
true (optional)├── my →
true (optional)├── anonymous →
true (optional)├── peer_id →
Peer (optional)│ ├──
PeerUser│ ├──
PeerChat│ └──
PeerChannel└── count →
intExample
UpdateMessageReactions(
peer=PeerUser(user_id=0),
msg_id=0,
reactions=MessageReactions(results=[
ReactionCount(
reaction=ReactionEmpty(),
count=0
)
]),
)