stories.GetAlbums
- class pyrogram.raw.functions.stories.GetAlbums
Get story albums created by a peer.
- Details:
Layer:
223ID:
25B3EAC7
- Parameters:
peer (
InputPeer) – The peer.hash (
int64-bit) – The hash from a previously returned stories.albums, to avoid returning any results if they haven’t changed.
- Returns:
TL Schema
stories.getAlbums#25b3eac7
peer:InputPeer
hash:long
= stories.Albums
Parameter Tree
GetAlbums
├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── 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└── hash →
longExample
await app.invoke(
GetAlbums(
peer=await app.resolve_peer(chat_id),
hash=0,
)
)