starsRevenueStatus
Describes Telegram Star revenue balances ».
type tg.StarsRevenueStatus struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
WithdrawalEnabled | bool | — | If set, the user may withdraw up to available_balance stars. |
CurrentBalance | StarsAmountClass | yes | Amount of not-yet-withdrawn Telegram Stars. |
AvailableBalance | StarsAmountClass | yes | Amount of withdrawable Telegram Stars. |
OverallRevenue | StarsAmountClass | yes | Total amount of earned Telegram Stars. |
NextWithdrawalAt | int | — | Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now. |
References
- Official documentation
- Generated Go reference
- TL definition:
starsRevenueStatus#febe5491