Introduction
Getting Started
API Reference
Topic Guides
Meta
Telegram API
Client.
get_dialogs_count
Get the total count of your dialogs.
bool
Pass True if you want to count only pinned dialogs. Defaults to False.
int – On success, the dialogs count is returned.
int
Example
count = app.get_dialogs_count() print(count)