telegram-bot-simple-0.3.7: Easy to use library for building Telegram bots.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.MakingRequests

Documentation

data Response a Source #

Instances

Instances details
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 #

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 #

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

Defined in Telegram.Bot.API.MakingRequests

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

Defined in Telegram.Bot.API.MakingRequests

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-simple-0.3.7-HZUAaklEXjr8K6d7MsBs9a" '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))))))