Interface UpgradeGift

Upgrades a gift received by the current user. Unless the gift has prepaid_upgrade_star_count > 0, the user must pay gift.upgrade_star_count Telegram Stars for the upgrade. Request type for Tdjson#upgradeGift.

interface UpgradeGift {
    @type: "upgradeGift";
    keep_original_details?: boolean;
    message_id: number;
    sender_user_id: number;
}

Properties

@type: "upgradeGift"
keep_original_details?: boolean

Pass true to keep the original gift text, sender and receiver in the upgraded gift.

message_id: number

Identifier of the message with the gift in the chat with the user.

sender_user_id: number

Identifier of the user that sent the gift.