Interface CraftGift

Crafts a new gift from other gifts that will be permanently lost. Request type for Tdjson#craftGift.

interface CraftGift {
    @type: "craftGift";
    received_gift_ids: string[];
}

Properties

@type: "craftGift"
received_gift_ids: string[]

Identifiers of the gifts to use for crafting. In the case of a successful craft, the resulting gift will have the number of the first gift. Consequently, unless getOption("can_craft_with_minted_first_gift") is true, the first gift must not be minted, which means it must have an empty gift_address.