telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.SuccessfulPayment

Synopsis

SuccessfulPayment

data SuccessfulPayment Source #

This object contains basic information about a successful payment.

Constructors

SuccessfulPayment 

Fields

Instances

Instances details
FromJSON SuccessfulPayment Source # 
Instance details

Defined in Telegram.Bot.API.Types.SuccessfulPayment

ToJSON SuccessfulPayment Source # 
Instance details

Defined in Telegram.Bot.API.Types.SuccessfulPayment

Generic SuccessfulPayment Source # 
Instance details

Defined in Telegram.Bot.API.Types.SuccessfulPayment

Associated Types

type Rep SuccessfulPayment :: Type -> Type #

Show SuccessfulPayment Source # 
Instance details

Defined in Telegram.Bot.API.Types.SuccessfulPayment

type Rep SuccessfulPayment Source # 
Instance details

Defined in Telegram.Bot.API.Types.SuccessfulPayment

type Rep SuccessfulPayment = D1 ('MetaData "SuccessfulPayment" "Telegram.Bot.API.Types.SuccessfulPayment" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "SuccessfulPayment" 'PrefixI 'True) ((S1 ('MetaSel ('Just "successfulPaymentCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "successfulPaymentTotalAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "successfulPaymentInvoicePayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "successfulPaymentShippingOptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ShippingOptionId)) :*: S1 ('MetaSel ('Just "successfulPaymentOrderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OrderInfo))) :*: (S1 ('MetaSel ('Just "successfulPaymentTelegramPaymentChargeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "successfulPaymentProviderPaymentChargeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))))