view_stories()#
- Client.view_stories()#
Increment story views.
Usable by Users Bots- Parameters:
chat_id (
int
|str
) – Unique identifier (int) or username (str) of the target chat. For a contact that exists in your Telegram address book you can use his phone number (str).story_id (
int
| List ofint
) – Identifier or list of story identifiers of the target story.
- Returns:
bool
– On success, True is returned.
Example
# Increment story views await app.view_stories(chat_id, 1)