telegram api constructor · layer 229 · #febe5491
starsRevenueStatus
Describes Telegram Star revenue balances ».
definition
starsRevenueStatus#febe5491 flags:# withdrawal_enabled:flags.0?true current_balance:StarsAmount available_balance:StarsAmount overall_revenue:StarsAmount next_withdrawal_at:flags.1?int = StarsRevenueStatus;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
withdrawal_enabled | true | If set, the user may withdraw up to available_balance stars. |
current_balance | StarsAmount | Amount of not-yet-withdrawn Telegram Stars. |
available_balance | StarsAmount | Amount of withdrawable Telegram Stars. |
overall_revenue | StarsAmount | Total amount of earned Telegram Stars. |
next_withdrawal_at | int | Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now. |
type
history
present in layers 182–229 · constructor id changed 1×
| id | layers |
|---|---|
| #79342946 | 182–194 |
| #febe5491 | 195–229 |