Interface SelectMenuChooseEvent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InteractiongetInteraction()Gets the created interaction.default SelectMenuInteractiongetSelectMenuInteraction()Gets the created interaction as SelectMenuInteraction.default java.util.Optional<SelectMenuInteraction>getSelectMenuInteractionWithCustomId(java.lang.String customId)Gets the created interaction as SelectMenuInteraction, if the custom id equals the given custom id.
-
-
-
Method Detail
-
getInteraction
Interaction getInteraction()
Gets the created interaction.- Returns:
- The interaction.
-
getSelectMenuInteraction
default SelectMenuInteraction getSelectMenuInteraction()
Gets the created interaction as SelectMenuInteraction.- Returns:
- The interaction.
-
getSelectMenuInteractionWithCustomId
default java.util.Optional<SelectMenuInteraction> getSelectMenuInteractionWithCustomId(java.lang.String customId)
Gets the created interaction as SelectMenuInteraction, if the custom id equals the given custom id.- Parameters:
customId- The custom id to match.- Returns:
- The interaction.
-
-