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

Telegram.Bot.API.Types.PreCheckoutQuery

Synopsis

PreCheckoutQuery

data PreCheckoutQuery Source #

This object contains information about an incoming pre-checkout query.

Constructors

PreCheckoutQuery 

Fields

Instances

Instances details
Show PreCheckoutQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.PreCheckoutQuery

Generic PreCheckoutQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.PreCheckoutQuery

Associated Types

type Rep PreCheckoutQuery :: Type -> Type #

FromJSON PreCheckoutQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.PreCheckoutQuery

Methods

parseJSON :: Value -> Parser PreCheckoutQuery

parseJSONList :: Value -> Parser [PreCheckoutQuery]

ToJSON PreCheckoutQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.PreCheckoutQuery

type Rep PreCheckoutQuery Source # 
Instance details

Defined in Telegram.Bot.API.Types.PreCheckoutQuery

type Rep PreCheckoutQuery = D1 ('MetaData "PreCheckoutQuery" "Telegram.Bot.API.Types.PreCheckoutQuery" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "PreCheckoutQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "preCheckoutQueryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "preCheckoutQueryFrom") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User) :*: S1 ('MetaSel ('Just "preCheckoutQueryCurrency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "preCheckoutQueryTotalAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "preCheckoutQueryInvoicePayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "preCheckoutQueryShippingOptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ShippingOptionId)) :*: S1 ('MetaSel ('Just "preCheckoutQueryOrderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OrderInfo))))))