Class ApplicationCommandOptionChoice
public class ApplicationCommandOptionChoice : IJsonModel<JsonApplicationCommandOptionChoice>
- Inheritance
-
ApplicationCommandOptionChoice
- Implements
- Inherited Members
Constructors
ApplicationCommandOptionChoice(JsonApplicationCommandOptionChoice)
public ApplicationCommandOptionChoice(JsonApplicationCommandOptionChoice jsonModel)
Parameters
jsonModel
JsonApplicationCommandOptionChoice
Properties
Name
Name of the choice (1-100 characters).
public string Name { get; }
Property Value
NameLocalizations
Localizations of Name (1-100 characters each).
public IReadOnlyDictionary<string, string>? NameLocalizations { get; }
Property Value
ValueNumeric
Numeric value for the choice.
public double? ValueNumeric { get; }
Property Value
ValueString
String value for the choice.
public string? ValueString { get; }
Property Value
ValueType
Type of value of the choice.
public ApplicationCommandOptionChoiceValueType ValueType { get; }