Machine-readable version of this page: /method/payments.getStarsRevenueStats.md.
Get Telegram Star revenue statistics ».
메서드 스키마는 레이어 206부터 사용할 수 있습니다. 전환 »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| dark | flags.0?true | Whether to enable dark theme for graph colors |
| ton | flags.1?true | If set, fetches channel/bot ad revenue statistics in TON. |
| peer | InputPeer | Get statistics for the specified bot, channel or ourselves (inputPeerSelf). |
| Code | Type | Description |
|---|---|---|
| 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. |
Defines the current user.
Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.