InputPollOption constructor

const InputPollOption({
  1. required FormattedText text,
  2. InputPollMedia? media,
})

Describes one answer option of a poll to be created

Implementation

const InputPollOption({required this.text, this.media});