telegram-bot-api-7.0: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Webhook

Documentation

data SetWebhookRequest Source #

Instances

Instances details
ToJSON SetWebhookRequest Source # 
Instance details

Defined in Telegram.Bot.API.Webhook

Generic SetWebhookRequest Source # 
Instance details

Defined in Telegram.Bot.API.Webhook

Associated Types

type Rep SetWebhookRequest :: Type -> Type #

ToMultipart Tmp SetWebhookRequest Source # 
Instance details

Defined in Telegram.Bot.API.Webhook

type Rep SetWebhookRequest Source # 
Instance details

Defined in Telegram.Bot.API.Webhook

type Rep SetWebhookRequest = D1 ('MetaData "SetWebhookRequest" "Telegram.Bot.API.Webhook" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "SetWebhookRequest" 'PrefixI 'True) ((S1 ('MetaSel ('Just "setWebhookUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String) :*: (S1 ('MetaSel ('Just "setWebhookCertificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InputFile)) :*: S1 ('MetaSel ('Just "setWebhookIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) :*: ((S1 ('MetaSel ('Just "setWebhookMaxConnections") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "setWebhookAllowedUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe [String]))) :*: (S1 ('MetaSel ('Just "setWebhookDropPendingUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "setWebhookSecretToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String))))))

defDeleteWebhook :: DeleteWebhookRequest Source #