Class DeferrableInteractionImpl
java.lang.Object
net.dv8tion.jda.internal.interactions.InteractionImpl
net.dv8tion.jda.internal.interactions.DeferrableInteractionImpl
- All Implemented Interfaces:
ISnowflake
,IDeferrableCallback
,Interaction
- Direct Known Subclasses:
CommandInteractionImpl
,ComponentInteractionImpl
,ModalInteractionImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHook()
TheInteractionHook
which can be used to send deferred replies or followup messages.void
releaseHook
(boolean success) Methods inherited from class net.dv8tion.jda.internal.interactions.InteractionImpl
ack, getChannel, getChannelIdLong, getContext, getEntitlements, getGuild, getIdLong, getIntegrationOwners, getJDA, getMember, getToken, getTypeRaw, getUser, getUserLocale, isAcknowledged
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.interactions.Interaction
getChannel, getChannelId, getChannelIdLong, getChannelType, getContext, getEntitlements, getGuild, getGuildChannel, getGuildLocale, getIntegrationOwners, getJDA, getMember, getMessageChannel, getToken, getType, getTypeRaw, getUser, getUserLocale, isAcknowledged, isFromAttachedGuild, isFromGuild
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Constructor Details
-
DeferrableInteractionImpl
-
-
Method Details
-
releaseHook
public void releaseHook(boolean success) - Overrides:
releaseHook
in classInteractionImpl
-
getHook
Description copied from interface:IDeferrableCallback
TheInteractionHook
which can be used to send deferred replies or followup messages.- Specified by:
getHook
in interfaceIDeferrableCallback
- Returns:
- The interaction hook
-