Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data InputInvoice
- = InputInvoiceMessage { }
- | InputInvoiceName { }
- | InputInvoiceTelegram { }
Documentation
data InputInvoice Source #
Describes an invoice to process
InputInvoiceMessage | An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia |
InputInvoiceName | An invoice from a link of the type internalLinkTypeInvoice |
InputInvoiceTelegram | An invoice for a payment toward Telegram; must not be used in the in-store apps |
|
Instances
FromJSON InputInvoice Source # | |
Defined in TD.Data.InputInvoice parseJSON :: Value -> Parser InputInvoice # parseJSONList :: Value -> Parser [InputInvoice] # | |
ToJSON InputInvoice Source # | |
Defined in TD.Data.InputInvoice toJSON :: InputInvoice -> Value # toEncoding :: InputInvoice -> Encoding # toJSONList :: [InputInvoice] -> Value # toEncodingList :: [InputInvoice] -> Encoding # | |
Show InputInvoice Source # | |
Defined in TD.Data.InputInvoice showsPrec :: Int -> InputInvoice -> ShowS # show :: InputInvoice -> String # showList :: [InputInvoice] -> ShowS # | |
Eq InputInvoice Source # | |
Defined in TD.Data.InputInvoice (==) :: InputInvoice -> InputInvoice -> Bool # (/=) :: InputInvoice -> InputInvoice -> Bool # | |
ShortShow InputInvoice Source # | |
Defined in TD.Data.InputInvoice shortShow :: InputInvoice -> String Source # |