haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.StopPoll

Synopsis

Documentation

data StopPoll Source #

Stops a poll. Returns Ok

Constructors

StopPoll 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the poll belongs

  • message_id :: Maybe Int

    Identifier of the message containing the poll. Use messageProperties.can_be_edited to check whether the poll can be stopped

  • reply_markup :: Maybe ReplyMarkup

    The new message reply markup; pass null if none; for bots only

Instances

Instances details
ToJSON StopPoll Source # 
Instance details

Defined in TD.Query.StopPoll

Show StopPoll Source # 
Instance details

Defined in TD.Query.StopPoll

Eq StopPoll Source # 
Instance details

Defined in TD.Query.StopPoll

ShortShow StopPoll Source # 
Instance details

Defined in TD.Query.StopPoll