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

TD.Data.ChatRevenueTransactionType

Synopsis

Documentation

data ChatRevenueTransactionType Source #

Describes type of transaction for revenue earned from sponsored messages in a chat

Constructors

ChatRevenueTransactionTypeUnsupported

Describes an unsupported transaction

ChatRevenueTransactionTypeSponsoredMessageEarnings

Describes earnings from sponsored messages in a chat in some time frame

Fields

ChatRevenueTransactionTypeSuggestedPostEarnings

Describes earnings from a published suggested post

Fields

  • user_id :: Maybe Int

    Identifier of the user that paid for the suggested post

ChatRevenueTransactionTypeFragmentWithdrawal

Describes a withdrawal of earnings through Fragment

Fields

ChatRevenueTransactionTypeFragmentRefund

Describes a refund for failed withdrawal of earnings through Fragment

Fields