Skip to main content

Class AutocompleteOption

Represents an autocomplete option.

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public class AutocompleteOption

Properties​

Type​

Gets the type of this option.

View Source​
Declaration
public ApplicationCommandOptionType Type { get; }

Name​

Gets the name of the option.

View Source​
Declaration
public string Name { get; }

Value​

Gets the value of the option.

View Source​
Declaration
public object Value { get; }

Focused​

Gets whether or not this option is focused by the executing user.

View Source​
Declaration
public bool Focused { get; }