ApplicationCommandOption constructor

ApplicationCommandOption({
  1. required ApplicationCommandOptionType type,
  2. required String name,
  3. required String description,
  4. bool? required,
  5. List<ApplicationCommandOptionChoice>? choices,
  6. List<ApplicationCommandOption>? options,
})

Implementation

ApplicationCommandOption({
  required this.type,
  required this.name,
  required this.description,
  this.required,
  this.choices,
  this.options,
});