Interface UpgradeGiftResult

Contains result of gift upgrading.

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

Properties

@type: "upgradeGiftResult"
can_be_transferred?: boolean

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

export_date: number

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

The upgraded gift.

is_saved?: boolean

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

received_gift_id: string

Unique identifier of the received gift for the current user.

transfer_star_count: number

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