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.
optional
isClosed: boolean
Whether the poll should be closed as soon as it is sent, allowing no answers.
optional
disableNotification: boolean
Whether to send the message in a silent way without making a sound on the recipients' clients.
optional
replyToMessageId: number
The identifier of a message to reply to.
optional
messageThreadId: number
The identifier of a thread to send the message to.
optional
sendAs: ChatID
The identifier of the chat to send the message on behalf of. User-only.
optional
replyMarkup:
| InlineKeyboardMarkup
| ReplyKeyboardMarkup
| ReplyKeyboardRemove
| ForceReply
The reply markup of the message. Bot-only.
optional
protectContent: boolean
Whether to protect the contents of the message from copying and forwarding.