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

TD.Data.TonWalletTransferReceiver

Synopsis

Documentation

data TonWalletTransferReceiver Source #

Represents expected receiver of a TON wallet transfer

Constructors

TonWalletTransferReceiverUser

The receiver is specified by its username

Fields

  • username :: Maybe Text

    Username of the user. Use searchPublicChat to find the user, check that it is a regular user, and then use createUserTonWallet to get information about the user's TON wallet

TonWalletTransferReceiverAddress

The receiver is specified by its address

Fields

  • address :: Maybe Text

    Address of the receiver. Use getAddressTonWallet to get information about the user's TON wallet