Class MessageContextInteractionImpl
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<Message>
net.dv8tion.jda.internal.interactions.command.MessageContextInteractionImpl
- All Implemented Interfaces:
ISnowflake
,IDeferrableCallback
,IModalCallback
,IReplyCallback
,CommandInteraction
,CommandInteractionPayload
,ContextInteraction<Message>
,MessageContextInteraction
,Interaction
,CommandInteractionPayloadMixin
public class MessageContextInteractionImpl
extends ContextInteractionImpl<Message>
implements MessageContextInteraction
-
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 channel this interaction happened in.Methods inherited from class net.dv8tion.jda.internal.interactions.command.ContextInteractionImpl
getCommandPayload, getTarget
Methods 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, 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
getTarget
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
getChannelId, getChannelIdLong, getChannelType, getContext, getEntitlements, getGuild, 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
Methods inherited from interface net.dv8tion.jda.api.interactions.commands.context.MessageContextInteraction
getGuildChannel, getTargetType
-
Constructor Details
-
MessageContextInteractionImpl
-
-
Method Details
-
getChannel
Description copied from interface:Interaction
The channel this interaction happened in.- Specified by:
getChannel
in interfaceInteraction
- Specified by:
getChannel
in interfaceMessageContextInteraction
- Overrides:
getChannel
in classInteractionImpl
- Returns:
- The channel or null if the channel is not provided
-