Machine-readable version of this page: /method/stats.getBroadcastStats.md.
메서드 스키마는 레이어 111부터 사용할 수 있습니다. 전환 »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| dark | flags.0?true | Whether to enable dark theme for graph colors |
| channel | InputChannel | The channel |
| Code | Type | Description |
|---|---|---|
| 400 | BROADCAST_REQUIRED | This method can only be called on a channel, please use stats.getMegagroupStats for supergroups. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
| 403 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
Telegram offers detailed channel statistics for channels and supergroups.