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

Telegram.Bot.API.Types.PollType

Contents

Synopsis

PollType

data PollType Source #

Instances

Instances details
Show PollType Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollType

Generic PollType Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollType

Associated Types

type Rep PollType :: Type -> Type #

Methods

from :: PollType -> Rep PollType x #

to :: Rep PollType x -> PollType #

FromJSON PollType Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollType

Methods

parseJSON :: Value -> Parser PollType

parseJSONList :: Value -> Parser [PollType]

ToJSON PollType Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollType

Methods

toJSON :: PollType -> Value

toEncoding :: PollType -> Encoding

toJSONList :: [PollType] -> Value

toEncodingList :: [PollType] -> Encoding

type Rep PollType Source # 
Instance details

Defined in Telegram.Bot.API.Types.PollType

type Rep PollType = D1 ('MetaData "PollType" "Telegram.Bot.API.Types.PollType" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "PollTypeQuiz" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PollTypeRegular" 'PrefixI 'False) (U1 :: Type -> Type))