payments.GetStarsRevenueStats#

class pyrogram.raw.functions.payments.GetStarsRevenueStats#

Get Telegram Star revenue statistics .

Details:
  • Layer: 220

  • ID: D91FFAD6

Parameters:
  • peer (InputPeer) – Get statistics for the specified bot, channel or ourselves (inputPeerSelf).

  • dark (bool, optional) – Whether to enable dark theme for graph colors

  • ton (bool, optional) – If set, fetches channel/bot ad revenue statistics in TON.

Returns:

payments.StarsRevenueStats