get_stories_views()

async Client.get_stories_views()

Obtain view summary counts and reaction stats for multiple stories.

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

  • story_ids (int | List of int) – A single story identifier or a list of story identifiers.

Returns:

StoryViews – On success, the story views summary object is returned.

Example

views = await app.get_stories_views(chat_id, [1, 2, 3])