stories.GetStoryReactionsList

class pyrogram.raw.functions.stories.GetStoryReactionsList

Get the reaction and interaction list of a story posted to a channel, along with the sender of each reaction.

Details:
  • Layer: 223

  • ID: B9B2881F

Parameters:
  • peer (InputPeer) – Channel

  • id (int 32-bit) – Story ID

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

  • forwards_first (bool, optional) – If set, returns forwards and reposts first, then reactions, then other views; otherwise returns interactions sorted just by interaction date.

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

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

Returns:

stories.StoryReactionsList

TL Schema

stories.getStoryReactionsList#b9b2881f
flags:#
forwards_first:flags.2?true
peer:InputPeer
id:int
reaction:flags.0?Reaction
offset:flags.1?string
limit:int

= stories.StoryReactionsList

Parameter Tree

GetStoryReactionsList
├── forwards_firsttrue (optional)
├── 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(
    GetStoryReactionsList(
        forwards_first=None,
        peer=await app.resolve_peer(chat_id),
        id=0,
        reaction=ReactionEmpty(),
        offset="text",
        limit=0,
    )
)