Safe Haskell | None |
---|---|
Language | Haskell2010 |
- sendInvoiceM :: SendInvoiceRequest -> TelegramClient MessageResponse
- answerShippingQueryM :: AnswerShippingQueryRequest -> TelegramClient AnswerShippingQueryResponse
- answerPreCheckoutQueryM :: AnswerPreCheckoutQueryRequest -> TelegramClient AnswerPreCheckoutQueryResponse
- type TelegramBotPaymentsAPI = (TelegramToken :> ("sendInvoice" :> (ReqBody '[JSON] SendInvoiceRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("answerShippingQuery" :> (ReqBody '[JSON] AnswerShippingQueryRequest :> Post '[JSON] AnswerShippingQueryResponse))) :<|> (TelegramToken :> ("answerPreCheckoutQuery" :> (ReqBody '[JSON] AnswerPreCheckoutQueryRequest :> Post '[JSON] AnswerPreCheckoutQueryResponse))))
- paymentsApi :: Proxy TelegramBotPaymentsAPI
Functions
answerShippingQueryM :: AnswerShippingQueryRequest -> TelegramClient AnswerShippingQueryResponse Source #
answerPreCheckoutQueryM :: AnswerPreCheckoutQueryRequest -> TelegramClient AnswerPreCheckoutQueryResponse Source #
API
type TelegramBotPaymentsAPI = (TelegramToken :> ("sendInvoice" :> (ReqBody '[JSON] SendInvoiceRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("answerShippingQuery" :> (ReqBody '[JSON] AnswerShippingQueryRequest :> Post '[JSON] AnswerShippingQueryResponse))) :<|> (TelegramToken :> ("answerPreCheckoutQuery" :> (ReqBody '[JSON] AnswerPreCheckoutQueryRequest :> Post '[JSON] AnswerPreCheckoutQueryResponse)))) Source #