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

Telegram.Bot.API.MakingRequests

Documentation

data Response a Source #

Instances

Instances details
FromJSON a => FromJSON (Response a) Source # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

ToJSON a => ToJSON (Response a) Source # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

Generic (Response a) Source # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

Associated Types

type Rep (Response a) :: Type -> Type #

Methods

from :: Response a -> Rep (Response a) x #

to :: Rep (Response a) x -> Response a #

Show a => Show (Response a) Source # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

Methods

showsPrec :: Int -> Response a -> ShowS #

show :: Response a -> String #

showList :: [Response a] -> ShowS #

type Rep (Response a) Source # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

type Rep (Response a) = D1 ('MetaData "Response" "Telegram.Bot.API.MakingRequests" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Response" 'PrefixI 'True) ((S1 ('MetaSel ('Just "responseOk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "responseDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "responseResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: (S1 ('MetaSel ('Just "responseErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "responseParameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ResponseParameters))))))