Class ContextInteractionImpl<T>
java.lang.Object
net.dv8tion.jda.internal.interactions.InteractionImpl
net.dv8tion.jda.internal.interactions.DeferrableInteractionImpl
net.dv8tion.jda.internal.interactions.command.CommandInteractionImpl
net.dv8tion.jda.internal.interactions.command.ContextInteractionImpl<T>
- All Implemented Interfaces:
ISnowflake
,IDeferrableCallback
,IModalCallback
,IReplyCallback
,CommandInteraction
,CommandInteractionPayload
,ContextInteraction<T>
,Interaction
,CommandInteractionPayloadMixin
- Direct Known Subclasses:
MessageContextInteractionImpl
,UserContextInteractionImpl
public abstract class ContextInteractionImpl<T>
extends CommandInteractionImpl
implements ContextInteraction<T>, CommandInteractionPayloadMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
ContextInteraction.ContextTarget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe target entity of this context interactionMethods inherited from class net.dv8tion.jda.internal.interactions.command.CommandInteractionImpl
deferReply, replyModal
Methods inherited from class net.dv8tion.jda.internal.interactions.DeferrableInteractionImpl
getHook, releaseHook
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.commands.CommandInteractionPayload
getCommandId, getCommandString, getFullCommandName, getOption, getOption, getOption, getOption, getOptionsByName, getOptionsByType, isGlobalCommand
Methods inherited from interface net.dv8tion.jda.internal.interactions.command.CommandInteractionPayloadMixin
getCommandIdLong, getCommandType, getName, getOptions, getSubcommandGroup, getSubcommandName, isGuildCommand
Methods inherited from interface net.dv8tion.jda.api.interactions.commands.context.ContextInteraction
getTargetType
Methods inherited from interface net.dv8tion.jda.api.interactions.callbacks.IDeferrableCallback
getHook
Methods inherited from interface net.dv8tion.jda.api.interactions.callbacks.IModalCallback
replyModal
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.interactions.callbacks.IReplyCallback
deferReply, deferReply, reply, reply, replyComponents, replyComponents, replyComponents, replyEmbeds, replyEmbeds, replyFiles, replyFiles, replyFormat, replyPoll
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getIdLong, getTimeCreated
-
Constructor Details
-
ContextInteractionImpl
-
-
Method Details
-
getCommandPayload
- Specified by:
getCommandPayload
in interfaceCommandInteractionPayloadMixin
- Overrides:
getCommandPayload
in classCommandInteractionImpl
-
getTarget
Description copied from interface:ContextInteraction
The target entity of this context interaction- Specified by:
getTarget
in interfaceContextInteraction<T>
- Returns:
- The target entity
-