get_megagroup_stats()¶
- async Client.get_megagroup_stats()¶
Get supergroup statistics.
Usable by Users Bots- Parameters:
chat_id (
int|str) – Unique identifier (int) or username (str) of the target supergroup.dark (
bool, optional) – Whether to enable dark theme for graph colors.
- Returns:
MegagroupStats– The megagroup statistics.
Example
stats = await app.get_megagroup_stats(chat_id)