Get Telegram Star revenue statistics ».
payments.starsRevenueStats#c92bb73b revenue_graph:StatsGraph status:StarsRevenueStatus usd_rate:double = payments.StarsRevenueStats;
---functions---
payments.getStarsRevenueStats#d91ffad6 flags:# dark:flags.0?true peer:InputPeer = payments.StarsRevenueStats;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
dark | flags.0?true | Whether to enable dark theme for graph colors |
peer | InputPeer | Get statistics for the specified bot, channel or ourselves (inputPeerSelf). |
Code | Type | Description |
---|---|---|
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.