Interface UpgradedGiftDepositInfo

Contains information needed to deposit an upgraded gift from the TON wallet of the current user to a Telegram account. The gift must be transferred by an internal message from the wallet to nft_address with gram_amount attached and with payload as the message body. Use sendTonWalletTransaction to send the message.

interface UpgradedGiftDepositInfo {
    @type: "upgradedGiftDepositInfo";
    gram_amount: string;
    nft_address: string;
    payload: string;
}

Properties

@type: "upgradedGiftDepositInfo"
gram_amount: string

The amount that must be attached to the message to cover fees, in the smallest units of TON Grams; the excess amount will be returned to the wallet.

nft_address: string

Address on the TON blockchain to which the message must be sent.

payload: string

Body of the NFT transfer message.