InputMessagePoll constructor
InputMessagePoll({
- FormattedText? question,
- required List<
InputPollOption> options, - FormattedText? description,
- InputPollMedia? media,
- required bool isAnonymous,
- required bool allowsMultipleAnswers,
- required bool allowsRevoting,
- required bool membersOnly,
- required List<
String> countryCodes, - required bool shuffleOptions,
- required bool hideResultsUntilCloses,
- InputPollType? type,
- required int openPeriod,
- required int closeDate,
- bool? isClosed,
Implementation
InputMessagePoll({
this.question,
required this.options,
this.description,
this.media,
required this.isAnonymous,
required this.allowsMultipleAnswers,
required this.allowsRevoting,
required this.membersOnly,
required this.countryCodes,
required this.shuffleOptions,
required this.hideResultsUntilCloses,
this.type,
required this.openPeriod,
required this.closeDate,
this.isClosed,
});