Interface SelectMenuDefinition<T extends net.dv8tion.jda.api.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.components.selections.SelectMenu>
extends ComponentDefinition<T>
permits EntitySelectMenuDefinition, StringSelectMenuDefinition
Common interface for select menu definitions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface InteractionDefinition
InteractionDefinition.ReplyConfig -
Field Summary
-
Method Summary
Methods inherited from interface ComponentDefinition
classDescription, methodDescription, uniqueIdMethods inherited from interface CustomIdJDAEntity
toJDAEntityMethods inherited from interface Definition
displayNameMethods inherited from interface InteractionDefinition
definitionId, permissionsMethods inherited from interface JDAEntity
toJDAEntity
-
Method Details
-
placeholder
String placeholder()the placeholder text of this menu -
minValue
int minValue()the minimum amount of choices -
maxValue
int maxValue()the maximum amount of choices
-