Table of Contents

Class HttpUserMenuInteractionContext

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

Context for handling HTTP-based user menu interactions.

public class HttpUserMenuInteractionContext : BaseUserMenuInteractionContext, IComponentInteractionContext, IInteractionContext, IRestClientContext, IRestMessageContext, IUserContext, IChannelContext, IContext
Inheritance
HttpUserMenuInteractionContext
Implements
Inherited Members

Constructors

HttpUserMenuInteractionContext(UserMenuInteraction, RestClient)

Context for handling HTTP-based user menu interactions.

public HttpUserMenuInteractionContext(UserMenuInteraction interaction, RestClient client)

Parameters

interaction UserMenuInteraction
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 users from the menu.

public IReadOnlyList<User> SelectedValues { get; }

Property Value

IReadOnlyList<User>

User

User who invoked the handled command or interaction.

public User User { get; }

Property Value

User