Search Results for

    Show / Hide Table of Contents

    Class ShardedInteractionContext

    The sharded variant of SocketInteractionContext.

    Inheritance
    Object
    SocketInteractionContext<SocketInteraction>
    ShardedInteractionContext<SocketInteraction>
    ShardedInteractionContext
    Implements
    IRouteMatchContainer
    IInteractionContext
    Inherited Members
    ShardedInteractionContext<SocketInteraction>.Client
    SocketInteractionContext<SocketInteraction>.Guild
    SocketInteractionContext<SocketInteraction>.Channel
    SocketInteractionContext<SocketInteraction>.User
    SocketInteractionContext<SocketInteraction>.Interaction
    SocketInteractionContext<SocketInteraction>.SegmentMatches
    SocketInteractionContext<SocketInteraction>.SetSegmentMatches(IEnumerable<IRouteSegmentMatch>)
    SocketInteractionContext<SocketInteraction>.IInteractionContext.Client
    SocketInteractionContext<SocketInteraction>.IInteractionContext.Guild
    SocketInteractionContext<SocketInteraction>.IInteractionContext.Channel
    SocketInteractionContext<SocketInteraction>.IInteractionContext.User
    SocketInteractionContext<SocketInteraction>.IInteractionContext.Interaction
    Namespace: Discord.Interactions
    Assembly: Discord.Net.WebSocket.dll
    Syntax
    public class ShardedInteractionContext : ShardedInteractionContext<SocketInteraction>, IRouteMatchContainer, IInteractionContext

    Constructors

    | Improve this Doc View Source

    ShardedInteractionContext(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.

    Implements

    IRouteMatchContainer
    IInteractionContext

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.9.0