Package org.javacord.core.interaction
Class MessageContextMenuInteractionImpl
- java.lang.Object
-
- org.javacord.core.interaction.InteractionImpl
-
- org.javacord.core.interaction.ApplicationCommandInteractionImpl
-
- org.javacord.core.interaction.MessageContextMenuInteractionImpl
-
- All Implemented Interfaces:
DiscordEntity
,ApplicationCommandInteraction
,Interaction
,InteractionBase
,MessageContextMenuInteraction
,Specializable<InteractionBase>
public class MessageContextMenuInteractionImpl extends ApplicationCommandInteractionImpl implements MessageContextMenuInteraction
-
-
Field Summary
-
Fields inherited from class org.javacord.core.interaction.ApplicationCommandInteractionImpl
commandId, commandName, registeredCommandServerId
-
-
Constructor Summary
Constructors Constructor Description MessageContextMenuInteractionImpl(DiscordApiImpl api, TextChannel channel, com.fasterxml.jackson.databind.JsonNode jsonData)
Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Message
getTarget()
-
Methods inherited from class org.javacord.core.interaction.ApplicationCommandInteractionImpl
getCommandId, getCommandIdAsString, getCommandName, getRegisteredCommandServerId, getType
-
Methods inherited from class org.javacord.core.interaction.InteractionImpl
createFollowupMessageBuilder, createImmediateResponder, getApi, getApplicationId, getBotPermissions, getChannel, getId, getLocale, getServer, getServerLocale, getToken, getUser, getVersion, respondLater, respondLater, respondWithModal
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javacord.api.interaction.ApplicationCommandInteraction
getCommandId, getCommandIdAsString, getCommandName, getRegisteredCommandServer, getRegisteredCommandServerId
-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
Methods inherited from interface org.javacord.api.interaction.Interaction
asAutocompleteInteraction, asAutocompleteInteraction, asMessageComponentInteraction, asMessageComponentInteractionWithCustomId, asMessageContextMenuInteraction, asMessageContextMenuInteractionWithCommandId, asModalInteraction, asModalInteractionWithCustomId, asSlashCommandInteraction, asSlashCommandInteractionWithCommandId, asUserContextMenuInteraction, asUserContextMenuInteractionWithCommandId
-
Methods inherited from interface org.javacord.api.interaction.InteractionBase
createFollowupMessageBuilder, createImmediateResponder, getApplicationId, getBotPermissions, getChannel, getLocale, getServer, getServerLocale, getToken, getType, getUser, getVersion, respondLater, respondLater, respondWithModal, respondWithModal
-
Methods inherited from interface org.javacord.api.util.Specializable
as
-
-
-
-
Constructor Detail
-
MessageContextMenuInteractionImpl
public MessageContextMenuInteractionImpl(DiscordApiImpl api, TextChannel channel, com.fasterxml.jackson.databind.JsonNode jsonData)
Class constructor.- Parameters:
api
- The api instance.channel
- The channel in which the interaction happened. Can benull
.jsonData
- The json data of the interaction.
-
-
Method Detail
-
getTarget
public Message getTarget()
- Specified by:
getTarget
in interfaceMessageContextMenuInteraction
-
-