Interface AutocompleteCreateEvent
-
- All Superinterfaces:
ApplicationCommandEvent,Event
public interface AutocompleteCreateEvent extends ApplicationCommandEvent
An autocomplete command create event.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AutocompleteInteractiongetAutocompleteInteraction()Gets the created interaction as AutocompleteInteraction, if the interaction is of this type.-
Methods inherited from interface org.javacord.api.event.interaction.ApplicationCommandEvent
getInteraction
-
-
-
-
Method Detail
-
getAutocompleteInteraction
default AutocompleteInteraction getAutocompleteInteraction()
Gets the created interaction as AutocompleteInteraction, if the interaction is of this type.- Returns:
- The interaction.
-
-