Class ShardedInteractionContext
The sharded variant of SocketInteractionContext.
Inheritance
ShardedInteractionContext
Inherited Members
Namespace: Discord.Interactions
Assembly: Discord.Net.WebSocket.dll
Syntax
public class ShardedInteractionContext : ShardedInteractionContext<SocketInteraction>, IRouteMatchContainer, IInteractionContext
Constructors
| Improve this Doc View SourceShardedInteractionContext(DiscordShardedClient, SocketInteraction)
Initializes a ShardedInteractionContext.
Declaration
public ShardedInteractionContext(DiscordShardedClient client, SocketInteraction interaction)
Parameters
Type | Name | Description |
---|---|---|
DiscordShardedClient | client | The underlying client. |
SocketInteraction | interaction | The underlying interaction. |