Package discord4j.rest.interaction
Interface DirectInteraction
-
- All Superinterfaces:
RestInteraction
@Experimental public interface DirectInteraction extends RestInteraction
AnRestInteractionoriginated from a DM channel, available for global commands and users that share a guild with a bot associated with this application. Allows access to the interaction user.- See Also:
Interactions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description discord4j.discordjson.json.UserDatagetUserData()Return the raw user data that created this interaction.-
Methods inherited from interface discord4j.rest.interaction.RestInteraction
acknowledge, acknowledgeEphemeral, getChannelId, getCommandInteractionData, getData, getId, reply, reply, replyEphemeral
-
-