toggle_all_stories_hidden()

async Client.toggle_all_stories_hidden()

Globally hide or unhide all stories from the top of the chat list.

Usable by Users Bots
Parameters:

hidden (bool, optional) – Pass True to hide all stories, False to show them. Defaults to True.

Returns:

bool – True on success.

Example

# Hide all stories
await app.toggle_all_stories_hidden(True)

# Show all stories
await app.toggle_all_stories_hidden(False)