Interface GetUpgradedGiftVariants

Returns all possible variants of upgraded gifts for a regular gift. Request type for Tdjson#getUpgradedGiftVariants.

interface GetUpgradedGiftVariants {
    @type: "getUpgradedGiftVariants";
    regular_gift_id: string;
    return_craft_models?: boolean;
    return_upgrade_models?: boolean;
}

Properties

@type: "getUpgradedGiftVariants"
regular_gift_id: string

Identifier of the regular gift.

return_craft_models?: boolean

Pass true to get models that can be obtained by crafting a gift from upgraded gifts.

return_upgrade_models?: boolean

Pass true to get models that can be obtained by upgrading a regular gift.