get_chat_revenue_withdrawal_url


Description:

public async HttpUrl get_chat_revenue_withdrawal_url (int64 chat_id, string password) throws TDLibError

Returns a URL for chat revenue withdrawal; requires owner privileges in the channel chat or the bot. Currently, this method can be used only if getOption("can_withdraw_chat_revenue") for channels with supergroupFullInfo.can_get_revenue_statistics == true or bots with userFullInfo.bot_info.can_get_revenue_statistics == true

Parameters:

chat_id

Chat identifier

password

The 2-step verification password of the current user