InputMessagePoll constructor
const
InputMessagePoll({})
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
Implementation
const InputMessagePoll({
required this.question,
required this.options,
required this.isAnonymous,
required this.type,
required this.openPeriod,
required this.closeDate,
required this.isClosed,
});