messages.GetMessageReactionsList
- class pyrogram.raw.functions.messages.GetMessageReactionsList
Get message reaction list, along with the sender of each reaction.
- Details:
Layer:
223ID:
461B3F48
- Parameters:
peer (
InputPeer) – Peerid (
int32-bit) – Message IDlimit (
int32-bit) – Maximum number of results to return, see paginationreaction (
Reaction, optional) – Get only reactions of this typeoffset (
str, optional) – Offset for pagination (taken from the next_offset field of the returned messages.MessageReactionsList); empty in the first request.
- Returns:
TL Schema
messages.getMessageReactionsList#461b3f48
flags:#
peer:InputPeer
id:int
reaction:flags.0?Reaction
offset:flags.1?string
limit:int
= messages.MessageReactionsList
Parameter Tree
GetMessageReactionsList
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long├── id →
int├── reaction →
Reaction (optional)│ ├──
ReactionEmpty│ ├──
ReactionEmoji│ │ └── emoticon →
string│ ├──
ReactionCustomEmoji│ │ └── document_id →
long│ └──
ReactionPaid├── offset →
string (optional)└── limit →
intExample
await app.invoke(
GetMessageReactionsList(
peer=await app.resolve_peer(chat_id),
id=0,
reaction=ReactionEmpty(),
offset="text",
limit=0,
)
)