Interface DisplayUpgradedGift

Shows an upgraded gift from the TON wallet of the current user on a profile page or hides it from all profile pages; the gift remains in the wallet. Request type for Tdjson#displayUpgradedGift.

interface DisplayUpgradedGift {
    @type: "displayUpgradedGift";
    name: string;
    owner_id: MessageSender;
}

Properties

Properties

@type: "displayUpgradedGift"
name: string

Unique name of the upgraded gift.

owner_id: MessageSender

Identifier of the current user or a channel chat owned by the current user on whose profile page the gift will be shown; pass null to hide the gift from all profile pages.