stories.UpdateAlbum#

class pyrogram.raw.functions.stories.UpdateAlbum#

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

Details:
  • Layer: 220

  • ID: 5E5259B6

Parameters:
  • peer (InputPeer) – Peer where the album is posted.

  • album_id (int 32-bit) – Album ID.

  • title (str, optional) – New album title.

  • delete_stories (List of int 32-bit, optional) – If set, deletes the specified stories from the album.

  • add_stories (List of int 32-bit, optional) – If set, adds the specified stories to the album.

  • order (List of int 32-bit, optional) – If set, reorders the stories in the album by their IDs.

Returns:

StoryAlbum