Answers of the poll.
You can either provide a string, or a
TL object representing an answer.
Strings will be transformed to TL
objects, with a single=byte incrementing
option
value.
Optional
captionCaption of the media
Optional
closePoint in time when the poll will be automatically closed.
Must be at least 5 and no more than 600 seconds in the future,
can't be used together with closePeriod
.
When number
is used, UNIX time in ms is expected
Optional
closeAmount of time in seconds the poll will be active after creation (5-600).
Can't be used together with closeDate
.
Optional
closedWhether this is poll is closed (i.e. nobody can vote anymore)
Optional
multipleWhether users can select multiple answers as an answer
Optional
publicWhether this is a public poll (i.e. users who have voted are visible to everyone)
Question of the poll (1-255 chars for users, 1-300 chars for bots)
A simple poll to be sent