Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data SetPollAnswer = SetPollAnswer {
- chat_id :: Maybe Int
- message_id :: Maybe Int
- option_ids :: Maybe [Int]
- defaultSetPollAnswer :: SetPollAnswer
Documentation
data SetPollAnswer Source #
Changes the user answer to a poll. A poll in quiz mode can be answered only once. Returns Ok
SetPollAnswer | |
|
Instances
ToJSON SetPollAnswer Source # | |
Defined in TD.Query.SetPollAnswer toJSON :: SetPollAnswer -> Value # toEncoding :: SetPollAnswer -> Encoding # toJSONList :: [SetPollAnswer] -> Value # toEncodingList :: [SetPollAnswer] -> Encoding # | |
Show SetPollAnswer Source # | |
Defined in TD.Query.SetPollAnswer showsPrec :: Int -> SetPollAnswer -> ShowS # show :: SetPollAnswer -> String # showList :: [SetPollAnswer] -> ShowS # | |
Eq SetPollAnswer Source # | |
Defined in TD.Query.SetPollAnswer (==) :: SetPollAnswer -> SetPollAnswer -> Bool # (/=) :: SetPollAnswer -> SetPollAnswer -> Bool # | |
ShortShow SetPollAnswer Source # | |
Defined in TD.Query.SetPollAnswer shortShow :: SetPollAnswer -> String Source # |