Table of Contents

Class HttpEntityMenuInteractionContext

Namespace
NetCord.Services.ComponentInteractions
Assembly
NetCord.Services.dll

Context for handling HTTP-based entity menu interactions.

public class HttpEntityMenuInteractionContext : BaseEntityMenuInteractionContext, IComponentInteractionContext, IInteractionContext, IRestClientContext, IRestMessageContext, IUserContext, IChannelContext, IContext
Inheritance
HttpEntityMenuInteractionContext
Implements
Inherited Members

Constructors

HttpEntityMenuInteractionContext(EntityMenuInteraction, RestClient)

Context for handling HTTP-based entity menu interactions.

public HttpEntityMenuInteractionContext(EntityMenuInteraction interaction, RestClient client)

Parameters

interaction EntityMenuInteraction
The interaction that is being handled.
client RestClient
The RestClient associated with the handled command or interaction.

Properties

Channel

Channel in which the handled command or interaction was invoked.

public TextChannel Channel { get; }

Property Value

TextChannel

Client

The RestClient associated with the handled command or interaction.

public RestClient Client { get; }

Property Value

RestClient

Message

The message associated with the handled command or interaction.

public RestMessage Message { get; }

Property Value

RestMessage

SelectedValues

The selected entity IDs from the menu.

public IReadOnlyList<ulong> SelectedValues { get; }

Property Value

IReadOnlyList<ulong>

User

User who invoked the handled command or interaction.

public User User { get; }

Property Value

User