Uses of Interface
org.javacord.api.interaction.UserContextMenuInteraction
-
Packages that use UserContextMenuInteraction Package Description org.javacord.api.event.interaction org.javacord.api.interaction -
-
Uses of UserContextMenuInteraction in org.javacord.api.event.interaction
Methods in org.javacord.api.event.interaction that return UserContextMenuInteraction Modifier and Type Method Description default UserContextMenuInteractionUserContextMenuCommandEvent. getUserContextMenuInteraction()Gets the created interaction as UserContextMenuInteraction, if the interaction is of this type.Methods in org.javacord.api.event.interaction that return types with arguments of type UserContextMenuInteraction Modifier and Type Method Description default java.util.Optional<UserContextMenuInteraction>UserContextMenuCommandEvent. getUserContextMenuInteractionWithCommandId(long commandId)Gets the created interaction as UserContextMenuInteraction, if the interaction is of this type and the command id equals the given command id. -
Uses of UserContextMenuInteraction in org.javacord.api.interaction
Methods in org.javacord.api.interaction that return types with arguments of type UserContextMenuInteraction Modifier and Type Method Description default java.util.Optional<UserContextMenuInteraction>Interaction. asUserContextMenuInteraction()Get this interaction as user context menu interaction if the type matches.default java.util.Optional<UserContextMenuInteraction>Interaction. asUserContextMenuInteractionWithCommandId(long commandId)Get this interaction as user context menu interaction if the type and the command id match.
-