payments.getStarsRevenueStats
Get Telegram Star revenue statistics ».
Get [Telegram Star revenue statistics »](https://core.telegram.org/api/stars.md).
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
dark | true | いいえ | Whether to enable dark theme for graph colors |
ton | true | いいえ | If set, fetches channel/bot ad revenue statistics in TON. |
peer | InputPeer | はい | Get statistics for the specified bot, channel or ourselves ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md)). |
レスポンス
payments.StarsRevenueStats
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.
- 400 · CHANNEL_PRIVATE — You haven't joined this channel/supergroup.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.