stories.GetPeerStories

class pyrogram.raw.functions.stories.GetPeerStories

Fetch the full active story list of a specific peer.

Details:
  • Layer: 223

  • ID: 2C4ADA50

Parameters:

peer (InputPeer) – Peer whose stories should be fetched

Returns:

stories.PeerStories

TL Schema

stories.getPeerStories#2c4ada50
peer:InputPeer

= stories.PeerStories

Parameter Tree

GetPeerStories
└── peerInputPeer
├── InputPeerEmpty
├── InputPeerSelf
├── InputPeerChat
│ └── chat_idlong
├── InputPeerUser
│ ├── user_idlong
│ └── access_hashlong
│ ├── channel_idlong
│ └── access_hashlong
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── channel_idlong

Example

await app.invoke(
    GetPeerStories(
        peer=await app.resolve_peer(chat_id),
    )
)