Interface SelectMenuChooseEvent
-
public interface SelectMenuChooseEventA select menu choose event.
-
-
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 Optional<SelectMenuInteraction>getSelectMenuInteractionWithCustomId(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 Optional<SelectMenuInteraction> getSelectMenuInteractionWithCustomId(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.
-
-