messages.GetMessageReactionsList

class pyrogram.raw.functions.messages.GetMessageReactionsList

Get message reaction list, along with the sender of each reaction.

Details:
  • Layer: 227

  • ID: 461B3F48

Parameters:
  • peer (InputPeer) – Peer

  • id (int 32-bit) – Message ID

  • limit (int 32-bit) – Maximum number of results to return, see pagination

  • reaction (Reaction, optional) – Get only reactions of this type

  • offset (str, optional) – Offset for pagination (taken from the next_offset field of the returned messages.MessageReactionsList); empty in the first request.

Returns:

messages.MessageReactionsList

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
│ │ ├── 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 → int

Example

await app.invoke(
    GetMessageReactionsList(
        peer=await app.resolve_peer(chat_id),
        id=0,
        reaction=ReactionEmpty(),
        offset="text",
        limit=0,
    )
)