DraftPoll
The poll of a draft. A draft keeps a poll still being written (fewer than two options, or
blank ones); publishing it checks the limits of PollInput. It ends expires_in seconds after
the draft is published.
object
options
required
The options, in order, as plain text.
Array<string>
expires_in
required
How long the poll takes votes, in seconds (5 minutes to 30 days).
integer
multiple
Whether a vote may choose several options.
boolean
hide_totals
Whether the votes of each option are hidden until the poll ends.
boolean
Example generated
{ "options": [ "example" ], "expires_in": 1, "multiple": true, "hide_totals": true}For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt