Interface GetChatRevenueWithdrawalUrl

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. Request type for Tdjson#getChatRevenueWithdrawalUrl.

interface GetChatRevenueWithdrawalUrl {
    @type: "getChatRevenueWithdrawalUrl";
    chat_id: number;
    password: string;
}

Properties

@type: "getChatRevenueWithdrawalUrl"
chat_id: number

Chat identifier.

password: string

The 2-step verification password of the current user.