haskell-tdlib-2.1.28.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.UpgradedGiftDepositInfo

Documentation

data UpgradedGiftDepositInfo Source #

Constructors

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

Fields

  • nft_address :: Maybe Text

    Address in TON blockchain to which the message must be sent

  • payload :: Maybe ByteString

    Body of the NFT transfer message

  • gram_amount :: Maybe Int

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