Interface StringSelectInteraction
- All Superinterfaces:
ComponentInteraction, ICustomIdInteraction, IDeferrableCallback, IMessageEditCallback, IModalCallback, Interaction, IReplyCallback, ISnowflake, SelectMenuInteraction<String, StringSelectMenu>
- All Known Implementing Classes:
StringSelectInteractionEvent
Component Interaction for a
StringSelectMenu.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Unmodifiable List<SelectOption> This resolves the selectedvaluesto the representativeSelectOptioninstances.The selected values.Methods inherited from interface ComponentInteraction
getChannel, getComponentId, getComponentType, getCustomId, getGuildChannel, getMessage, getMessageId, getMessageIdLong, getUniqueIdMethods inherited from interface IDeferrableCallback
getHookMethods inherited from interface IMessageEditCallback
deferEdit, editComponents, editComponents, editComponents, editMessage, editMessage, editMessageAttachments, editMessageAttachments, editMessageEmbeds, editMessageEmbeds, editMessageFormatMethods inherited from interface IModalCallback
replyModalMethods inherited from interface Interaction
getChannelId, getChannelIdLong, getChannelType, getContext, getEntitlements, getGuild, getGuildLocale, getIntegrationOwners, getJDA, getMember, getMessageChannel, getToken, getType, getTypeRaw, getUser, getUserLocale, isAcknowledged, isFromAttachedGuild, isFromGuildMethods inherited from interface IReplyCallback
deferReply, deferReply, reply, reply, replyComponents, replyComponents, replyComponents, replyEmbeds, replyEmbeds, replyFiles, replyFiles, replyFormat, replyPollMethods inherited from interface ISnowflake
getId, getIdLong, getTimeCreatedMethods inherited from interface SelectMenuInteraction
editSelectMenu, getComponent, getSelectMenu
-
Method Details
-
getValues
The selected values.
These are defined in the individualSelectOptions.- Specified by:
getValuesin interfaceSelectMenuInteraction<String, StringSelectMenu>- Returns:
ListofSelectOption.getValue()
-
getSelectedOptions
This resolves the selectedvaluesto the representativeSelectOptioninstances.
It is recommended to checkgetValues()directly instead of using the options.- Returns:
- Immutable
Listof the selected options
-