Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Polling Source # | |
Show Polling Source # | |
Generic Polling Source # | |
ToJSON Polling Source # | |
Defined in Web.Telegram.API.Update | |
FromJSON Polling Source # | |
Default Polling Source # | |
Defined in Web.Telegram.API.Update | |
type Rep Polling Source # | |
Defined in Web.Telegram.API.Update type Rep Polling = D1 (MetaData "Polling" "Web.Telegram.API.Update" "telegram-raw-api-0.1.0-6INSX8mwqV2A3qTaYNvjDy" False) (C1 (MetaCons "Polling" PrefixI True) ((S1 (MetaSel (Just "offset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "limit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer))) :*: (S1 (MetaSel (Just "timeout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "allowedUpdates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) |
data WebhookSetting Source #
WebhookSetting | |
|
Instances
type GetUpdates = Base :> ("getUpdates" :> (ReqBody '[JSON] Polling :> Get '[JSON] (ReqResult [Update]))) Source #
type SetWebhook = Base :> ("setWebhook" :> (ReqBody '[JSON] WebhookSetting :> Get '[JSON] (ReqResult Bool))) Source #
type GetWebhookInfo = Base :> ("getWebhookInfo" :> Get '[JSON] (ReqResult WebhookInfo)) Source #