Record Class EntitySelectMenuDefinition

java.lang.Object
java.lang.Record
com.github.kaktushose.jda.commands.definitions.interactions.component.menu.EntitySelectMenuDefinition
Record Components:
clazzDescription - the ClassDescription of the declaring class of the methodDescription()
methodDescription - the MethodDescription of the method this definition is bound to
permissions - a Collection of permissions for this menu
selectTargets - the EntitySelectMenu.SelectTargets of this menu
defaultValues - the EntitySelectMenu.DefaultValues of this menu
channelTypes - the ChannelTypes that should be supported by this menu.
placeholder - the placeholder text of this menu
minValue - the minimum amount of choices
maxValue - the maximum amount of choices
All Implemented Interfaces:
Definition, CustomIdJDAEntity<EntitySelectMenu>, com.github.kaktushose.jda.commands.definitions.features.internal.Invokable, JDAEntity<EntitySelectMenu>, ComponentDefinition<EntitySelectMenu>, SelectMenuDefinition<EntitySelectMenu>, InteractionDefinition

public record EntitySelectMenuDefinition(@NotNull ClassDescription clazzDescription, @NotNull MethodDescription methodDescription, @NotNull Collection<String> permissions, @NotNull Set<EntitySelectMenu.SelectTarget> selectTargets, @NotNull Set<EntitySelectMenu.DefaultValue> defaultValues, @NotNull Set<ChannelType> channelTypes, @NotNull String placeholder, int minValue, int maxValue) extends Record implements SelectMenuDefinition<EntitySelectMenu>
Representation of an entity select menu.