Interface UpgradedGift

Describes an upgraded gift that can be transferred to another owner or transferred to the TON blockchain as an NFT.

interface UpgradedGift {
    @type: "upgradedGift";
    backdrop: UpgradedGiftBackdrop;
    gift_address: string;
    id: string;
    max_upgraded_count: number;
    model: UpgradedGiftModel;
    name: string;
    number: number;
    original_details: UpgradedGiftOriginalDetails;
    owner_address: string;
    owner_id: MessageSender;
    owner_name: string;
    symbol: UpgradedGiftSymbol;
    title: string;
    total_upgraded_count: number;
}

Properties

@type: "upgradedGift"

Backdrop of the upgraded gift.

gift_address: string

Address of the gift NFT in TON blockchain; may be empty if none.

id: string

Unique identifier of the gift.

max_upgraded_count: number

The maximum number of gifts that can be upgraded from the same gift.

Model of the upgraded gift.

name: string

Unique name of the upgraded gift that can be used with internalLinkTypeUpgradedGift.

number: number

Unique number of the upgraded gift among gifts upgraded from the same gift.

original_details: UpgradedGiftOriginalDetails

Information about the originally sent gift; may be null if unknown.

owner_address: string

Address of the gift NFT owner in TON blockchain; may be empty if none.

owner_id: MessageSender

Identifier of the user or the chat that owns the upgraded gift; may be null if none or unknown.

owner_name: string

Name of the owner for the case when owner identifier and address aren't known.

Symbol of the upgraded gift.

title: string

The title of the upgraded gift.

total_upgraded_count: number

Total number of gifts that were upgraded from the same gift.