ApplicationCommandOption constructor
ApplicationCommandOption({
- required ApplicationCommandOptionType type,
- required String name,
- required String description,
- bool? required,
- List<
ApplicationCommandOptionChoice> ? choices, - List<
ApplicationCommandOption> ? options,
Implementation
ApplicationCommandOption({
required this.type,
required this.name,
required this.description,
this.required,
this.choices,
this.options,
});