haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.SetPollAnswer

Synopsis

Documentation

data SetPollAnswer Source #

Changes the user answer to a poll. A poll in quiz mode can be answered only once. Returns Ok

Constructors

SetPollAnswer 

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_ids :: Maybe [Int]

    0-based identifiers of answer options, chosen by the user. User can choose more than 1 answer option only is the poll allows multiple answers