TD.Query.StopPoll
data StopPoll Source #
Stops a poll. Returns Ok
Ok
Constructors
Fields
Identifier of the chat to which the poll belongs
Identifier of the message containing the poll. Use messageProperties.can_be_edited to check whether the poll can be stopped
The new message reply markup; pass null if none; for bots only
Defined in TD.Query.StopPoll
Methods
toJSON :: StopPoll -> Value #
toEncoding :: StopPoll -> Encoding #
toJSONList :: [StopPoll] -> Value #
toEncodingList :: [StopPoll] -> Encoding #
showsPrec :: Int -> StopPoll -> ShowS #
show :: StopPoll -> String #
showList :: [StopPoll] -> ShowS #
(==) :: StopPoll -> StopPoll -> Bool #
(/=) :: StopPoll -> StopPoll -> Bool #
shortShow :: StopPoll -> String Source #
defaultStopPoll :: StopPoll Source #