haskell-tdlib-2.0.53.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputInvoice

Synopsis

Documentation

data InputInvoice Source #

Describes an invoice to process

Constructors

InputInvoiceMessage

An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia

Fields

  • chat_id :: Maybe Int

    Chat identifier of the message

  • message_id :: Maybe Int

    Message identifier. Use messageProperties.can_be_paid to check whether the message can be used in the method

InputInvoiceName

An invoice from a link of the type internalLinkTypeInvoice

Fields

InputInvoiceTelegram

An invoice for a payment toward Telegram; must not be used in the in-store apps

Fields