Interface UpgradeGiftResult

Contains result of gift upgrading.

interface UpgradeGiftResult {
    @type: "upgradeGiftResult";
    can_be_transferred?: boolean;
    export_date: number;
    gift: UpgradedGift;
    is_saved?: boolean;
    transfer_star_count: number;
}

Properties

@type: "upgradeGiftResult"
can_be_transferred?: boolean

True, if the gift can be transferred to another user.

export_date: number

Point in time (Unix timestamp) when the gift can be transferred to TON blockchain as an NFT.

The upgraded gift.

is_saved?: boolean

True, if the gift is displayed on the user's profile page.

transfer_star_count: number

Number of Telegram Stars that must be paid to transfer the upgraded gift.