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

TD.Data.TonTransactionType

Synopsis

Documentation

data TonTransactionType Source #

Describes type of transaction with Toncoins

Constructors

TonTransactionTypeFragmentDeposit

The transaction is a deposit of Toncoins from Fragment

Fields

  • is_gift :: Maybe Bool

    True, if the transaction is a gift from another user

  • sticker :: Maybe Sticker

    The sticker to be shown in the transaction information; may be null if unknown

TonTransactionTypeSuggestedPostPayment

The transaction is a payment for a suggested post

Fields

TonTransactionTypeUpgradedGiftPurchase

The transaction is a purchase of an upgraded gift for some user or channel; for regular users only

Fields

TonTransactionTypeUpgradedGiftSale

The transaction is a sale of an upgraded gift; for regular users only

Fields

TonTransactionTypeUnsupported

The transaction is a transaction of an unsupported type