create_story_album()

async Client.create_story_album()

Create a new story album (highlight).

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • title (str) – Title of the album.

  • stories (List of int) – List of story identifiers to include in the album.

Returns:

StoryAlbum – On success, the created story album is returned.

Example

album = await app.create_story_album(
    chat_id="me",
    title="Memories",
    stories=[1, 2, 3]
)
print(album)