Interface UserContextInteraction
- All Superinterfaces:
CommandInteraction, CommandInteractionPayload, ContextInteraction<User>, IDeferrableCallback, IModalCallback, Interaction, IReplyCallback, ISnowflake
- All Known Implementing Classes:
UserContextInteractionEvent
Interaction with a user context menu command
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextInteraction
ContextInteraction.ContextTarget -
Method Summary
Modifier and TypeMethodDescriptionIf this context menu command was used in aGuild, this returns the member instance for the target user.default ContextInteraction.ContextTargetThe target type of this context interactionMethods inherited from interface CommandInteractionPayload
getCommandId, getCommandIdLong, getCommandString, getCommandType, getFullCommandName, getName, getOption, getOption, getOption, getOption, getOptions, getOptionsByName, getOptionsByType, getSubcommandGroup, getSubcommandName, isGlobalCommand, isGuildCommandMethods inherited from interface ContextInteraction
getTargetMethods inherited from interface IDeferrableCallback
getHookMethods inherited from interface IModalCallback
replyModalMethods inherited from interface Interaction
getChannel, getChannelId, getChannelIdLong, getChannelType, getContext, getEntitlements, getGuild, getGuildChannel, getGuildLocale, getIntegrationOwners, getJDA, getMember, getMessageChannel, getToken, getType, getTypeRaw, getUser, getUserLocale, isAcknowledged, isFromAttachedGuild, isFromGuildMethods inherited from interface IReplyCallback
deferReply, deferReply, reply, reply, replyComponents, replyComponents, replyComponents, replyEmbeds, replyEmbeds, replyFiles, replyFiles, replyFormat, replyPollMethods inherited from interface ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getTargetType
Description copied from interface:ContextInteractionThe target type of this context interaction- Specified by:
getTargetTypein interfaceContextInteraction<User>- Returns:
- The context target type
-
getTargetMember
-