messages.GetMessageReactionsList

class pyrogram.raw.functions.messages.GetMessageReactionsList

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

Details:
  • Layer: 223

  • 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
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ │ └── chat_idlong
│ ├── InputPeerUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ ├── InputPeerChannel
│ │ ├── channel_idlong
│ │ └── access_hashlong
│ │ ├── peerInputPeer
│ │ │ ├── InputPeerEmpty
│ │ │ ├── InputPeerSelf
│ │ │ ├── InputPeerChat
│ │ │ ├── InputPeerUser
│ │ │ ├── InputPeerChannel
│ │ │ ├── InputPeerUserFromMessage
│ │ │ └── InputPeerChannelFromMessage
│ │ ├── msg_idint
│ │ └── user_idlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── channel_idlong
├── idint
├── reactionReaction (optional)
│ ├── ReactionEmpty
│ ├── ReactionEmoji
│ │ └── emoticonstring
│ ├── ReactionCustomEmoji
│ │ └── document_idlong
│ └── ReactionPaid
├── offsetstring (optional)
└── limitint

Example

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