Interface SelectMenuChooseEvent



  • public interface SelectMenuChooseEvent
    A select menu choose event.
    • 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.