stats.getMegagroupStats
Get supergroup statistics
Get [supergroup statistics](https://core.telegram.org/api/stats.md)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
dark | true | لأ | Whether to enable dark theme for graph colors |
channel | InputChannel | أيوه | [Supergroup ID](https://core.telegram.org/api/channel.md) |
الردود
stats.MegagroupStats
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 403 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · MEGAGROUP_REQUIRED — You can only use this method on a supergroup.