View Source ExTDLib.Object.InputMessagePoll (ExTDLib v0.0.4)

A message with a poll. Polls can't be sent to secret chats. Polls can be sent only to a private chat with a bot.

NameTypeDescription
questionstringPoll question; 1-255 characters (up to 300 characters for bots).
optionsstringList of poll answer options, 2-10 strings 1-100 characters each.
is_anonymousboolTrue, if the poll voters are anonymous. Non-anonymous polls can't be sent or forwarded to channels.
typePollTypeType of the poll.
open_periodnumberAmount of time the poll will be active after creation, in seconds; for bots only.
close_datenumberPoint in time (Unix timestamp) when the poll will automatically be closed; for bots only.
is_closedboolTrue, if the poll needs to be sent already closed; for bots only.

More details on telegram's documentation.