Interface GetStarWithdrawalUrl

Returns a URL for Telegram Star withdrawal. Request type for Tdjson#getStarWithdrawalUrl.

interface GetStarWithdrawalUrl {
    @type: "getStarWithdrawalUrl";
    owner_id: MessageSender;
    password: string;
    star_count: number;
}

Properties

@type: "getStarWithdrawalUrl"
owner_id: MessageSender

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

password: string

The 2-step verification password of the current user.

star_count: number

The number of Telegram Stars to withdraw. Must be at least getOption("star_withdrawal_count_min").