stats.getBroadcastRevenueStats

Get channel ad revenue statistics ».

 Method schema is available as of layer 192. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
dark flags.0?true Whether to enable dark theme for graph colors
peer InputPeer Get ad revenue stats for the specified channel or bot

Result

stats.BroadcastRevenueStats

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 CHAT_ADMIN_REQUIRED You must be an admin in this chat to do this.
400 PEER_ID_INVALID The provided peer id is invalid.

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.