Table of Contents

Interface IAutocompleteInteractionData

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents data for a slash commands autocomplete interaction.

public interface IAutocompleteInteractionData : IDiscordInteractionData

Properties

CommandId

Gets the id of the invoked command.

ulong CommandId { get; }

Property Value

ulong

CommandName

Gets the name of the invoked command.

string CommandName { get; }

Property Value

string

Current

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

AutocompleteOption Current { get; }

Property Value

AutocompleteOption

Options

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

IReadOnlyCollection<AutocompleteOption> Options { get; }

Property Value

IReadOnlyCollection<AutocompleteOption>

Type

Gets the type of the invoked command.

ApplicationCommandType Type { get; }

Property Value

ApplicationCommandType

Version

Gets the version of the invoked command.

ulong Version { get; }

Property Value

ulong