Poll constructor

Poll(
  1. {required int64 id,
  2. required String question,
  3. required List<PollOption> options,
  4. required int total_voter_count,
  5. required List<MessageSender> recent_voter_ids,
  6. required bool is_anonymous,
  7. required PollType type,
  8. required int open_period,
  9. required int close_date,
  10. required bool is_closed,
  11. int? extra,
  12. int? clientId}
)

Describes a poll

Implementation

Poll