stats.getMegagroupStats
Get supergroup statistics
Get [supergroup statistics](https://core.telegram.org/api/stats.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
dark | true | Nein | Whether to enable dark theme for graph colors |
channel | InputChannel | Ja | [Supergroup ID](https://core.telegram.org/api/channel.md) |
Antworten
stats.MegagroupStats
MTProto RPC
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.
- 403 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
- 400 · MEGAGROUP_REQUIRED – Sie können diese Methode nur für eine Supergruppe verwenden.