get_all_stories()¶
- Client.get_all_stories()¶
Get all active or hidden stories that displayed on the action bar on the homescreen.
Usable by Users Bots- 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.
- hidden (
bool, optional): If set, fetches the hidden active story list, otherwise fetches the active story list.
- 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.
- next (
- Returns:
Generator– On success, a generator yieldingStoryobjects is returned.
Example
# Get all active story async for story in app.get_all_stories(): print(story)