Class AutocompleteResult
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents a result to an autocomplete interaction.
public class AutocompleteResult
- Inheritance
-
AutocompleteResult
- Inherited Members
Constructors
AutocompleteResult()
Creates a new AutocompleteResult.
public AutocompleteResult()
AutocompleteResult(string, object)
Creates a new AutocompleteResult with the passed in name
and value
.
public AutocompleteResult(string name, object value)
Parameters
Exceptions
Properties
Name
Gets or sets the name of the result.
public string Name { get; set; }
Property Value
Remarks
Name cannot be null and has to be between 1-100 characters in length.
Exceptions
Value
Gets or sets the value of the result.
public object Value { get; set; }