Table of Contents

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 DiscordSocketClient

The underlying client

interaction SocketInteraction

The underlying interaction