Package net.dv8tion.jda.api.interactions
Interface ICustomIdInteraction
- All Known Subinterfaces:
ButtonInteraction
,ComponentInteraction
,EntitySelectInteraction
,ModalInteraction
,SelectMenuInteraction<T,
,S> StringSelectInteraction
- All Known Implementing Classes:
ButtonInteractionEvent
,EntitySelectInteractionEvent
,GenericComponentInteractionCreateEvent
,GenericSelectMenuInteractionEvent
,ModalInteractionEvent
,StringSelectInteractionEvent
public interface ICustomIdInteraction
Marker interface for interactions with custom IDs.
This includes modals and components.
-
Method Summary
Modifier and TypeMethodDescriptionThe relevant custom ID, that has been provided for the component or modal when it was originally created.
-
Method Details
-
getCustomId
The relevant custom ID, that has been provided for the component or modal when it was originally created.
This value should be used to determine what action to take in regard to this interaction.
This id does not have to be numerical.- Returns:
- The custom ID
- See Also:
-