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.