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).

Constructor schema is available as of layer 187. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
withdrawal_enabled flags.0?true If set, the available balance can be withdrawn ».
current_balance long Amount of not-yet-withdrawn cryptocurrency.
available_balance long Amount of withdrawable cryptocurrency, out of the currently available balance (available_balance <= current_balance).
overall_revenue long Total amount of earned cryptocurrency.

Type

BroadcastRevenueBalances

Related pages

Channel and bot ad revenue

Telegram has one of the most generous reward systems in the history of social media. Telegram channel and bot owners can now receive 50% of the revenue from ads displayed in their channels and bots. This page describes the methods used to withdraw channel/bot ad revenue, as well as view detailed revenue stats.