Table of Contents

Class RestAutocompleteInteractionData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents the data for a RestAutocompleteInteraction.

public class RestAutocompleteInteractionData : IAutocompleteInteractionData, IDiscordInteractionData
Inheritance
RestAutocompleteInteractionData
Implements
Inherited Members

Properties

CommandId

Gets the id of the invoked command.

public ulong CommandId { get; }

Property Value

ulong

CommandName

Gets the name of the invoked command.

public string CommandName { get; }

Property Value

string

Current

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

public AutocompleteOption Current { get; }

Property Value

AutocompleteOption

Options

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

public IReadOnlyCollection<AutocompleteOption> Options { get; }

Property Value

IReadOnlyCollection<AutocompleteOption>

Type

Gets the type of the invoked command.

public ApplicationCommandType Type { get; }

Property Value

ApplicationCommandType

Version

Gets the version of the invoked command.

public ulong Version { get; }

Property Value

ulong