stories.GetAlbumStories

class pyrogram.raw.functions.stories.GetAlbumStories

Get stories in a story album ».

Details:
  • Layer: 227

  • ID: AC806D61

Parameters:
  • peer (InputPeer) – Peer where the album is posted.

  • album_id (int 32-bit) – ID of the album.

  • offset (int 32-bit) – Offset for pagination.

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

Returns:

stories.Stories

TL Schema

stories.getAlbumStories#ac806d61
peer:InputPeer
album_id:int
offset:int
limit:int

= stories.Stories

Parameter Tree

GetAlbumStories
├── 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
├── album_id → int
├── offset → int
└── limit → int

Example

await app.invoke(
    GetAlbumStories(
        peer=await app.resolve_peer(chat_id),
        album_id=0,
        offset=0,
        limit=0,
    )
)