get_story_public_forwards()

async Client.get_story_public_forwards()

Obtain forwards of a story as a message to public chats and reposts by public channels.

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

  • story_id (int) – Story ID.

  • offset (str, optional) – Offset for pagination. Defaults to empty string.

  • limit (int, optional) – Maximum number of results to return. Defaults to 10.

Returns:

PublicForwards – The story public forwards.

Example

forwards = await app.get_story_public_forwards(chat_id, story_id)