starsRevenueStatus #

Describes Telegram Star revenue balances ».

Layer 223

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

Telegram Stars #

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.