| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Web.Telegram.API.Update
Documentation
Constructors
| Polling | |
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.3.0-CeC2zg6UYPuLfYfz1lUNhE" False) (C1 (MetaCons "Polling" PrefixI True) ((S1 (MetaSel (Just "offset") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "limit") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "timeout") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "allowedUpdates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))) | |
data WebhookSetting Source #
Constructors
| WebhookSetting | |
Fields
| |
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 #