Constructor: starsRevenueStatus
Describes Telegram Star revenue balances ».
Attributes:
Name | Type | Required | Description |
---|---|---|---|
withdrawal_enabled | Bool | Optional | If set, the user may withdraw up to available_balance stars. |
current_balance | StarsAmount | Yes | Amount of not-yet-withdrawn Telegram Stars. |
available_balance | StarsAmount | Yes | Amount of withdrawable Telegram Stars. |
overall_revenue | StarsAmount | Yes | Total amount of earned Telegram Stars. |
next_withdrawal_at | int | Optional | Unixtime indicating when will withdrawal be available to the user. If not set, withdrawal can be started now. |
Type: StarsRevenueStatus
Example:
$starsRevenueStatus = ['_' => 'starsRevenueStatus', 'withdrawal_enabled' => Bool, 'current_balance' => StarsAmount, 'available_balance' => StarsAmount, 'overall_revenue' => StarsAmount, 'next_withdrawal_at' => int];