InputPollOption constructor

const InputPollOption({
  1. required String text,
  2. ParseMode? textParseMode,
  3. List<MessageEntity>? textEntities,
})

Creates an InputPollOption object.

Implementation

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