Interface ModalSubmitEvent
-
- All Superinterfaces:
ApplicationCommandEvent,Event
public interface ModalSubmitEvent extends ApplicationCommandEvent
A modal submit event.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ModalInteractiongetModalInteraction()Gets the created interaction as ModalInteraction, if the interaction is of this type.-
Methods inherited from interface org.javacord.api.event.interaction.ApplicationCommandEvent
getInteraction
-
-
-
-
Method Detail
-
getModalInteraction
default ModalInteraction getModalInteraction()
Gets the created interaction as ModalInteraction, if the interaction is of this type.- Returns:
- The interaction.
-
-