stories.GetStoriesArchive

class pyrogram.raw.functions.stories.GetStoriesArchive

Fetch the story archive » of a peer we control.

Details:
  • Layer: 227

  • ID: B4352016

Parameters:
  • peer (InputPeer) – Peer whose archived stories should be fetched

  • offset_id (int 32-bit) – Offsets for pagination, for more info click here

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

Returns:

stories.Stories

TL Schema

stories.getStoriesArchive#b4352016
peer:InputPeer
offset_id:int
limit:int

= stories.Stories

Parameter Tree

GetStoriesArchive
├── 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
├── offset_id → int
└── limit → int

Example

await app.invoke(
    GetStoriesArchive(
        peer=await app.resolve_peer(chat_id),
        offset_id=0,
        limit=0,
    )
)