telega-0.2.4: Telegram Bot API binding
Network.API.Telegram.Bot.Object.Update.Message.Content.Poll
data Poll Source #
Constructors
Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Poll
Methods
showsPrec :: Int -> Poll -> ShowS #
show :: Poll -> String #
showList :: [Poll] -> ShowS #
parseJSON :: Value -> Parser Poll
parseJSONList :: Value -> Parser [Poll]
Defined in Network.API.Telegram.Bot.Object.Update.Message
Associated Types
type Payload (Send Poll) = (payload :: *) Source #
payload :: Payload (Send Poll) -> Object Source #
endpoint :: Payload (Send Poll) -> String Source #
persist :: FromJSON r => Payload (Send Poll) -> Telegram e r Source #
persist_ :: Payload (Send Poll) -> Telegram e () Source #