Interface ComponentInteraction

All Superinterfaces:
IDeferrableCallback, IMessageEditCallback, IModalCallback, Interaction, IReplyCallback, ISnowflake
All Known Subinterfaces:
ButtonInteraction, SelectMenuInteraction
All Known Implementing Classes:
ButtonInteractionEvent, GenericComponentInteractionCreateEvent, SelectMenuInteractionEvent

public interface ComponentInteraction extends IReplyCallback, IMessageEditCallback, IModalCallback
Interaction on a message ActionComponent.

Instead of IReplyCallback.deferReply() and IReplyCallback.reply(String) you can use IMessageEditCallback.deferEdit() and IMessageEditCallback.editMessage(String) with these interactions! You can only acknowledge an interaction once!