stories.updateAlbum #

Rename a story albums », or add, delete or reorder stories in it.

Layer 223

storyAlbum#9325705a flags:# album_id:int title:string icon_photo:flags.0?Photo icon_video:flags.1?Document = StoryAlbum;
---functions---
stories.updateAlbum#5e5259b6 flags:# peer:InputPeer album_id:int title:flags.0?string delete_stories:flags.1?Vector<int> add_stories:flags.2?Vector<int> order:flags.3?Vector<int> = StoryAlbum;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
peerInputPeerPeer where the album is posted.
album_idintAlbum ID.
titleflags.0?stringNew album title.
delete_storiesflags.1?Vector<int>If set, deletes the specified stories from the album.
add_storiesflags.2?Vector<int>If set, adds the specified stories to the album.
orderflags.3?Vector<int>If set, reorders the stories in the album by their IDs.

Result #

StoryAlbum

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

Telegram Stories #

Telegram users and channels can easily post and view stories through the API.