Class DiscordAutoCompleteChoice
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents an option for a user to select for auto-completion.
public sealed class DiscordAutoCompleteChoice
- Inheritance
-
objectDiscordAutoCompleteChoice
Constructors
- DiscordAutoCompleteChoice(string, double)
Creates a new instance of DiscordAutoCompleteChoice.
- DiscordAutoCompleteChoice(string, int)
Creates a new instance of DiscordAutoCompleteChoice.
- DiscordAutoCompleteChoice(string, long)
Creates a new instance of DiscordAutoCompleteChoice.
- DiscordAutoCompleteChoice(string, float)
Creates a new instance of DiscordAutoCompleteChoice.
- DiscordAutoCompleteChoice(string, string)
Creates a new instance of DiscordAutoCompleteChoice.
Properties
- Name
Gets the name of this option which will be presented to the user.
- Value
Gets the value of this option. This may be a string or an integer.