Skip to content

craftGift

Function · TDLib 1.8.67 · d1085f9c

Crafts a new gift from other gifts that will be permanently lost

craftGift(
  received_gift_ids: list of string
) → CraftGiftResult

received_gift_ids

list of string

Identifier 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, the first gift must not have been withdrawn to the TON blockchain as an NFT and must have an empty gift_address