get_story_album_stories()

async Client.get_story_album_stories()

Get all stories in a story album (highlight).

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

  • album_id (int) – ID of the album.

  • offset (int, optional) – Offset for pagination.

  • limit (int, optional) – Maximum number of stories to return. By default, all stories will be returned.

Returns:

Generator – On success, a generator yielding Story objects is returned.

Example

async for story in app.get_story_album_stories(chat_id, album_id):
    print(story)