Skip to content

addStoryAlbumStories

Function · TDLib 1.8.67 · d1085f9c

Adds stories to the beginning of a previously created story album. If the album is owned by a supergroup or a channel chat, then requires can_edit_stories administrator right in the chat. Returns the changed album

addStoryAlbumStories(
  chat_id: int53,
  story_album_id: int32,
  story_ids: list of int32
) → StoryAlbum

chat_id

int53

Identifier of the chat that owns the stories

story_album_id

int32

Identifier of the story album

story_ids

list of int32

Identifier of the stories to add to the album; 1-getOption("story_album_size_max") identifiers. If after addition the album has more than getOption("story_album_size_max") stories, then the last one are removed from the album