haskell-tdlib-2.1.9.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

TonTransactionTypeFragmentWithdrawal

The transaction is a withdrawal of earned Toncoins to Fragment

Fields

TonTransactionTypeSuggestedPostPayment

The transaction is a payment for a suggested post

Fields

TonTransactionTypeGiftPurchaseOffer

The transaction is an offer of gift purchase

Fields

TonTransactionTypeUpgradedGiftPurchase

The transaction is a purchase of an upgraded gift for some user or channel

Fields

TonTransactionTypeUpgradedGiftSale

The transaction is a sale of an upgraded gift

Fields

TonTransactionTypeUnsupported

The transaction is a transaction of an unsupported type