WithdrawUpgradedGift constructor

const WithdrawUpgradedGift({
  1. required String receivedGiftId,
  2. required bool keepOnProfile,
})

Withdraws an upgraded gift to the TON blockchain as an NFT directly to the TON wallet of the current user, which is created automatically if the user has no wallet yet; requires owner privileges for gifts owned by a chat. The user must have a valid temporary password; see createTemporaryPassword. The gift will be received by the wallet in a few seconds after the request succeeds

Implementation

const WithdrawUpgradedGift({
  required this.receivedGiftId,
  required this.keepOnProfile,
});