Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data PollType
- getPollType :: PollType -> Text
PollType
Instances
Show PollType Source # | |
Generic PollType Source # | |
FromJSON PollType Source # | |
Defined in Telegram.Bot.API.Types.PollType parseJSON :: Value -> Parser PollType parseJSONList :: Value -> Parser [PollType] | |
ToJSON PollType Source # | |
Defined in Telegram.Bot.API.Types.PollType toEncoding :: PollType -> Encoding toJSONList :: [PollType] -> Value toEncodingList :: [PollType] -> Encoding | |
type Rep PollType Source # | |
Defined in Telegram.Bot.API.Types.PollType |
getPollType :: PollType -> Text Source #