text static method

SelectMenu text(
  1. String customId,
  2. List<SelectMenuOption<String>> options, {
  3. String? placeholder,
  4. int? minValues,
  5. int? maxValues,
  6. bool? disabled,
})

Implementation

static SelectMenu text(
  String customId,
  List<SelectMenuOption<String>> options, {
  String? placeholder,
  int? minValues,
  int? maxValues,
  bool? disabled,
}) =>
    SelectMenu(ComponentType.textSelectMenu, customId,
        placeholder: placeholder,
        minValues: minValues,
        maxValues: maxValues,
        disabled: disabled,
        options: options);