Skip to content

getStarWithdrawalUrl

Function · TDLib 1.8.67 · d1085f9c

Returns a URL for Telegram Star withdrawal

getStarWithdrawalUrl(
  owner_id: MessageSender,
  star_count: int53,
  password: string
) → HttpUrl

owner_id

MessageSender

Identifier of the owner of the Telegram Stars; can be identifier of the current user, an owned bot, or an owned supergroup or channel chat

star_count

int53

The number of Telegram Stars to withdraw; must be between getOption("star_withdrawal_count_min") and getOption("star_withdrawal_count_max")

password

string

The 2-step verification password of the current user