Interface SelectMenuDefinition<T extends net.dv8tion.jda.api.interactions.components.selections.SelectMenu>

All Superinterfaces:
ComponentDefinition<T>, CustomIdJDAEntity<T>, Definition, InteractionDefinition, Invokable, JDAEntity<T>
All Known Implementing Classes:
EntitySelectMenuDefinition, StringSelectMenuDefinition

public sealed interface SelectMenuDefinition<T extends net.dv8tion.jda.api.interactions.components.selections.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