import { type SendPollParams } from "https://deno.land/x/mtkruto@0.1.118/client/3_types.ts";
Properties
Whether multiple selections should be allowed. Only valid for regular polls.
A text that will be shown to the user when the poll is answered. Only valid for quiz polls.
The parse mode to use for the explanation. If not provided, the default parse mode will be used.
The explanation's entities.
Duration of the poll in seconds. Must be in the range of 5-600. Cannot be used simultaneously with closeDate
.
The time in which the poll will be closed. Must be at least 5 seconds in the future, and no more than 600. Cannot be used simultaneously with openPeriod
.
Whether the poll should be closed as soon as it is sent, allowing no answers.
Whether to send the message in a silent way without making a sound on the recipients' clients.
The identifier of the chat to send the message on behalf of. User-only.