Class SocketApplicationCommandChoice
Represents a choice for a SocketApplicationCommandOption.
public class SocketApplicationCommandChoice : IApplicationCommandOptionChoice
- Inheritance
-
SocketApplicationCommandChoice
- Implements
- Inherited Members
Properties
Name
Gets the choice name.
public string Name { get; }
Property Value
NameLocalizations
Gets the localization dictionary for the name field of this command option choice.
public IReadOnlyDictionary<string, string> NameLocalizations { get; }
Property Value
NameLocalized
Gets the localized name of this command option choice.
public string NameLocalized { get; }
Property Value
Remarks
Only returned when the withLocalizations
query parameter is set to false when requesting the command.
Value
Gets the value of the choice.
public object Value { get; }