telega-0.2.4: Telegram Bot API binding

Safe HaskellNone
LanguageHaskell2010

Network.API.Telegram.Bot.Object.Update.Message.Content.Poll

Documentation

data Poll Source #

Constructors

Opened Text [Option] 
Closed Text [Option] 
Instances
Show Poll Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Poll

Methods

showsPrec :: Int -> Poll -> ShowS #

show :: Poll -> String #

showList :: [Poll] -> ShowS #

FromJSON Poll Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message.Content.Poll

Methods

parseJSON :: Value -> Parser Poll

parseJSONList :: Value -> Parser [Poll]

Persistable (Send Poll) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message

Associated Types

type Payload (Send Poll) = (payload :: *) Source #

type Payload (Send Poll) Source # 
Instance details

Defined in Network.API.Telegram.Bot.Object.Update.Message