payments.getStarsRevenueStats

Get Telegram Star revenue statistics ».

 Method schema is available as of layer 182. Switch »

Parameters

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).

Result

payments.StarsRevenueStats

Possible errors

Code Type Description
400 PEER_ID_INVALID The provided peer id is invalid.

Related pages

inputPeerSelf

Defines the current user.

Telegram Stars

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.