stories.CreateAlbum
- class pyrogram.raw.functions.stories.CreateAlbum
Creates a story album.
- Details:
Layer:
223ID:
A36396E5
- Parameters:
peer (
InputPeer) – The owned peer where to create the album.title (
str) – Album name.stories (List of
int32-bit) – Stories to add to the album.
- Returns:
TL Schema
stories.createAlbum#a36396e5
peer:InputPeer
title:string
stories:Vector<int>
= StoryAlbum
Parameter Tree
CreateAlbum
├── 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├── title →
string└── stories →
Vector < int >Example
await app.invoke(
CreateAlbum(
peer=await app.resolve_peer(chat_id),
title="text",
stories=[0],
)
)