Skip to content

getChatRevenueWithdrawalUrl

Function · TDLib 1.8.67 · d1085f9c

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

getChatRevenueWithdrawalUrl(
  chat_id: int53,
  password: string
) → HttpUrl

chat_id

int53

Chat identifier

password

string

The 2-step verification password of the current user