Constructor: payments.starsRevenueStats
Star revenue statistics, see here » for more info.
Note that all balances and currency amounts and graph values are in Stars.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| top_hours_graph | StatsGraph | Optional | For ad revenue statistics, ad impressions graph |
| revenue_graph | StatsGraph | Yes | Star revenue graph (number of earned stars) |
| status | StarsRevenueStatus | Yes | Current balance, current withdrawable balance and overall earned Telegram Stars |
| usd_rate | double | Yes | Current conversion rate of Telegram Stars to USD |
Type: payments.StarsRevenueStats
Example:
$payments_starsRevenueStats = ['_' => 'payments.starsRevenueStats', 'top_hours_graph' => StatsGraph, 'revenue_graph' => StatsGraph, 'status' => StarsRevenueStatus, 'usd_rate' => double];