Raw.BroadcastRevenueBalances
Describes channel ad revenue balances.
broadcastRevenueBalances#c3ff71e7 flags:# withdrawal_enabled:flags.0?true current_balance:long available_balance:long overall_revenue:long = BroadcastRevenueBalances;
export namespace Raw {
export class BroadcastRevenueBalances {
constructor(params: {
withdrawalEnabled?: boolean;
currentBalance: bigint;
availableBalance: bigint;
overallRevenue: bigint;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 198
Constructor ID: 0xc3ff71e7
Property
withdrawalEnabled
: boolean or undefinedIf set, the available balance can be withdrawn.
currentBalance
: bigintAmount of not-yet-withdrawn cryptocurrency.
availableBalance
: bigintAmount of withdrawable cryptocurrency, out of the currently available balance (availableBalance <= currentBalance).
overallRevenue
: bigintTotal amount of earned cryptocurrency.