Class HttpMentionableMenuInteractionContext
- Namespace
- NetCord.Services.ComponentInteractions
- Assembly
- NetCord.Services.dll
Context for handling HTTP-based mentionable menu interactions.
public class HttpMentionableMenuInteractionContext : BaseMentionableMenuInteractionContext, IComponentInteractionContext, IInteractionContext, IRestClientContext, IRestMessageContext, IUserContext, IChannelContext, IContext
- Inheritance
-
HttpMentionableMenuInteractionContext
- Implements
- Inherited Members
Constructors
HttpMentionableMenuInteractionContext(MentionableMenuInteraction, RestClient)
Context for handling HTTP-based mentionable menu interactions.
public HttpMentionableMenuInteractionContext(MentionableMenuInteraction interaction, RestClient client)
Parameters
interactionMentionableMenuInteractionThe interaction that is being handled. clientRestClientThe 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
Client
The RestClient associated with the handled command or interaction.
public RestClient Client { get; }
Property Value
Message
The message associated with the handled command or interaction.
public RestMessage Message { get; }
Property Value
SelectedValues
The selected mentionables (users or roles) from the menu.
public IReadOnlyList<Mentionable> SelectedValues { get; }
Property Value
User
User who invoked the handled command or interaction.
public User User { get; }