Telegram.Bot.API.Types.PollType
Contents
PollType
data PollType Source #
Constructors
Defined in Telegram.Bot.API.Types.PollType
Methods
parseJSON :: Value -> Parser PollType #
parseJSONList :: Value -> Parser [PollType] #
omittedField :: Maybe PollType #
toJSON :: PollType -> Value #
toEncoding :: PollType -> Encoding #
toJSONList :: [PollType] -> Value #
toEncodingList :: [PollType] -> Encoding #
omitField :: PollType -> Bool #
Associated Types
type Rep PollType :: Type -> Type #
from :: PollType -> Rep PollType x #
to :: Rep PollType x -> PollType #
showsPrec :: Int -> PollType -> ShowS #
show :: PollType -> String #
showList :: [PollType] -> ShowS #
getPollType :: PollType -> Text Source #