Skip to main content

starsRevenueStatus

Describes Telegram Star revenue balances ».

type tg.StarsRevenueStatus struct { /* ... */ }

Fields​

NameTypeRequiredDescription
WithdrawalEnabledbool—If set, the user may withdraw up to available_balance stars.
CurrentBalanceStarsAmountClassyesAmount of not-yet-withdrawn Telegram Stars.
AvailableBalanceStarsAmountClassyesAmount of withdrawable Telegram Stars.
OverallRevenueStarsAmountClassyesTotal amount of earned Telegram Stars.
NextWithdrawalAtint—Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now.

References​