telegram-bot-simple-0.2.0: Easy to use library for building Telegram bots.

Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.MakingRequests

Documentation

data Response a #

Instances
Show a => Show (Response a) # 
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) # 
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) # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

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

Defined in Telegram.Bot.API.MakingRequests

type Rep (Response a) # 
Instance details

Defined in Telegram.Bot.API.MakingRequests

type Rep (Response a) = D1 (MetaData "Response" "Telegram.Bot.API.MakingRequests" "telegram-bot-simple-0.2.0-31t24Pyt0AQxG6B783GY3" 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))))))