Class SocketInteractionContext
- Namespace
- Discord.Interactions
- Assembly
- Discord.Net.WebSocket.dll
Represents a Web-Socket based context of an IDiscordInteraction
public class SocketInteractionContext : SocketInteractionContext<SocketInteraction>, IInteractionContext, IRouteMatchContainer
- Inheritance
-
SocketInteractionContext
- Implements
- Inherited Members
Constructors
SocketInteractionContext(DiscordSocketClient, SocketInteraction)
Initializes a new SocketInteractionContext
public SocketInteractionContext(DiscordSocketClient client, SocketInteraction interaction)
Parameters
client
DiscordSocketClientThe underlying client
interaction
SocketInteractionThe underlying interaction