Skip to main content

Interface IAutocompleteInteractionData

Represents data for a slash commands autocomplete interaction.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IAutocompleteInteractionData : IDiscordInteractionData

Properties​

CommandName​

Gets the name of the invoked command.

View Source​
Declaration
string CommandName { get; }

CommandId​

Gets the id of the invoked command.

View Source​
Declaration
ulong CommandId { get; }

Type​

Gets the type of the invoked command.

View Source​
Declaration
ApplicationCommandType Type { get; }

Version​

Gets the version of the invoked command.

View Source​
Declaration
ulong Version { get; }

Current​

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

View Source​
Declaration
AutocompleteOption Current { get; }

Options​

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

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