stories.GetAlbumStories

class pyrogram.raw.functions.stories.GetAlbumStories

Get stories in a story album ».

Details:
  • Layer: 223

  • 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
├── 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
├── album_idint
├── offsetint
└── limitint

Example

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