Interface SelectMenuChooseEvent

  • All Superinterfaces:
    Event

    public interface SelectMenuChooseEvent
    extends Event
    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 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.