choices property

Iterable<CommandOptionChoiceBuilder>? choices
final

The choices for this type.

Choices will be the only options selectable in Slash Commands, however text commands might still pass any content to this converter.

Implementation

final Iterable<CommandOptionChoiceBuilder<dynamic>>? choices;