stats.getBroadcastRevenueWithdrawalUrl

Withdraw funds from a channel's ad revenue balance ».

stats.broadcastRevenueWithdrawalUrl#ec659737 url:string = stats.BroadcastRevenueWithdrawalUrl;
---functions---
stats.getBroadcastRevenueWithdrawalUrl#2a65ef73 channel:InputChannel password:InputCheckPasswordSRP = stats.BroadcastRevenueWithdrawalUrl;

Parameters

Name Type Description
peer InputPeer Get ad revenue withdrawal URL for the specified channel or bot
password InputCheckPasswordSRP 2FA password, see here » for more info.

Result

stats.BroadcastRevenueWithdrawalUrl

Possible errors

Code Type Description
400 PASSWORD_HASH_INVALID The provided password hash is invalid.
400 PASSWORD_MISSING You must enable 2FA before executing this operation.
400 PASSWORD_TOO_FRESH_%d The password was modified less than 24 hours ago, try again in %d seconds.

Related pages

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.

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.