Class HttpAutocompleteInteractionContext
- Namespace
- NetCord.Services.ApplicationCommands
- Assembly
- NetCord.Services.dll
Context for handling HTTP-based autocomplete interactions.
public class HttpAutocompleteInteractionContext : BaseAutocompleteInteractionContext, IAutocompleteInteractionContext, IInteractionContext, IRestClientContext, IChannelContext, IUserContext, IContext
- Inheritance
-
HttpAutocompleteInteractionContext
- Implements
- Inherited Members
Constructors
HttpAutocompleteInteractionContext(AutocompleteInteraction, RestClient)
Context for handling HTTP-based autocomplete interactions.
public HttpAutocompleteInteractionContext(AutocompleteInteraction interaction, RestClient client)
Parameters
interactionAutocompleteInteractionThe 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
User
User who invoked the handled command or interaction.
public User User { get; }