Skip to main content

Class SocketAutocompleteInteractionData

Represents data for a slash commands autocomplete interaction.

Assembly: Discord.Net.WebSocket.dll​
View Source​
Declaration
public class SocketAutocompleteInteractionData : IAutocompleteInteractionData, IDiscordInteractionData

Properties​

CommandName​

Gets the name of the invoked command.

View Source​
Declaration
public string CommandName { get; }

CommandId​

Gets the id of the invoked command.

View Source​
Declaration
public ulong CommandId { get; }

Type​

Gets the type of the invoked command.

View Source​
Declaration
public ApplicationCommandType Type { get; }

Version​

Gets the version of the invoked command.

View Source​
Declaration
public ulong Version { get; }

Current​

Gets the current autocomplete option that is actively being filled out.

View Source​
Declaration
public AutocompleteOption Current { get; }

Options​

Gets a collection of all the other options the executing users has filled out.

View Source​
Declaration
public IReadOnlyCollection<AutocompleteOption> Options { get; }

Implements​