SetOption constructor

const SetOption({
  1. required String name,
  2. OptionValue? value,
})

Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization

Implementation

const SetOption({
  required this.name,
  this.value,
});