Interface SelectMenuDefinition<T extends SelectMenu>

All Superinterfaces:
ComponentDefinition<T>, CustomIdJDAEntity<T>, Definition, InteractionDefinition, com.github.kaktushose.jda.commands.definitions.features.internal.Invokable, JDAEntity<T>
All Known Implementing Classes:
EntitySelectMenuDefinition, StringSelectMenuDefinition

public sealed interface SelectMenuDefinition<T extends SelectMenu> extends ComponentDefinition<T> permits EntitySelectMenuDefinition, StringSelectMenuDefinition
Common interface for select menu definitions.
See Also:
  • Method Details

    • placeholder

      @NotNull @NotNull String placeholder()
      the placeholder text of this menu
    • minValue

      int minValue()
      the minimum amount of choices
    • maxValue

      int maxValue()
      the maximum amount of choices