payments.StarsRevenueStats#

class pyrogram.raw.types.payments.StarsRevenueStats#

Star revenue statistics, see here for more info. Note that all balances and currency amounts and graph values are in Stars.

Constructor of StarsRevenueStats.

Details:
  • Layer: 220

  • ID: 6C207376

Parameters:
revenue_graph (StatsGraph):

Star revenue graph (number of earned stars)

status (StarsRevenueStatus):

Current balance, current withdrawable balance and overall earned Telegram Stars

usd_rate (float 64-bit):

Current conversion rate of Telegram Stars to USD

top_hours_graph (StatsGraph, optional):

For ad revenue statistics, ad impressions graph

Functions:

This object can be returned by 1 function.

payments.GetStarsRevenueStats

Get Telegram Star revenue statistics .