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

nametypedescription
flags#Flags, see TL conditional fields
withdrawal_enabledflags.0?trueIf set, the user may withdraw up to available_balance stars.
current_balanceStarsAmountAmount of not-yet-withdrawn Telegram Stars.
available_balanceStarsAmountAmount of withdrawable Telegram Stars.
overall_revenueStarsAmountTotal amount of earned Telegram Stars.
next_withdrawal_atflags.1?intUnixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now.

type

StarsRevenueStatus

history

present in layers 182–229 · constructor id changed 1×

idlayers
#79342946182–194
#febe5491195–229