haskell-tdlib-2.1.14.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.DeletePollOption

Synopsis

Documentation

data DeletePollOption Source #

Adds an option to a poll. Returns Ok

Constructors

DeletePollOption 

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

  • option_id :: Maybe Text

    Unique identifier of the option. Use pollOptionProperties.can_be_deleted to check whether the option can be deleted by the user