Constructor: broadcastRevenueBalances
Describes channel ad revenue balances ».
Note that all balances are in the smallest unit of the chosen cryptocurrency (currently nanotons for TONs, so to obtain a value in USD divide the chosen amount by 10^9
, and then divide by usd_rate
).
Attributes:
Name | Type | Required | Description |
---|---|---|---|
withdrawal_enabled | Bool | Optional | If set, the available balance can be withdrawn ». |
current_balance | long | Yes | Amount of not-yet-withdrawn cryptocurrency. |
available_balance | long | Yes | Amount of withdrawable cryptocurrency, out of the currently available balance (available_balance <= current_balance ). |
overall_revenue | long | Yes | Total amount of earned cryptocurrency. |
Type: BroadcastRevenueBalances
Example:
$broadcastRevenueBalances = ['_' => 'broadcastRevenueBalances', 'withdrawal_enabled' => Bool, 'current_balance' => long, 'available_balance' => long, 'overall_revenue' => long];