View Source ExTDLib.Method.SetPollAnswer (ExTDLib v0.0.4)

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

NameTypeDescription
chat_idstringIdentifier of the chat to which the poll belongs.
message_idstringIdentifier of the message containing the poll.
option_idsnumber0-based identifiers of answer options, chosen by the user. User can choose more than 1 answer option only is the poll allows multiple answers.

More details on telegram's documentation.