stories.GetAllStories

class pyrogram.raw.functions.stories.GetAllStories

Fetch the List of active (or active and hidden) stories, see here » for more info on watching stories.

Details:
  • Layer: 223

  • ID: EEB0D625

Parameters:
  • next (bool, optional) – If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here » for more info on the full flow.

  • hidden (bool, optional) – If set, fetches the hidden active story list, otherwise fetches the active story list, see here » for more info on the full flow.

  • state (str, optional) – If next and state are both set, uses the passed state to paginate to the next results; if neither state nor next are set, fetches the initial page; if state is set and next is not set, check for changes in the active/hidden peerset, see here » for more info on the full flow.

Returns:

stories.AllStories

TL Schema

stories.getAllStories#eeb0d625
flags:#
next:flags.1?true
hidden:flags.2?true
state:flags.0?string

= stories.AllStories

Parameter Tree

GetAllStories
├── nexttrue (optional)
├── hiddentrue (optional)
└── statestring (optional)

Example

await app.invoke(
    GetAllStories(
        next=None,
        hidden=None,
        state="text",
    )
)