Class JsonApplicationCommandOption
- Namespace
- NetCord.Rest.JsonModels
- Assembly
- NetCord.dll
public class JsonApplicationCommandOption
- Inheritance
-
JsonApplicationCommandOption
- Inherited Members
-
Constructors
JsonApplicationCommandOption()
public JsonApplicationCommandOption()
Properties
Autocomplete
[JsonPropertyName("autocomplete")]
public bool Autocomplete { get; set; }
Property Value
- bool
ChannelTypes
[JsonPropertyName("channel_types")]
public ChannelType[]? ChannelTypes { get; set; }
Property Value
- ChannelType[]
Choices
[JsonPropertyName("choices")]
public JsonApplicationCommandOptionChoice[]? Choices { get; set; }
Property Value
- JsonApplicationCommandOptionChoice[]
Description
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
- string
DescriptionLocalizations
[JsonPropertyName("description_localizations")]
public IReadOnlyDictionary<string, string>? DescriptionLocalizations { get; set; }
Property Value
- IReadOnlyDictionary<string, string>
MaxLength
[JsonPropertyName("max_length")]
public int? MaxLength { get; set; }
Property Value
- int?
MaxValue
[JsonPropertyName("max_value")]
public double? MaxValue { get; set; }
Property Value
- double?
MinLength
[JsonPropertyName("min_length")]
public int? MinLength { get; set; }
Property Value
- int?
MinValue
[JsonPropertyName("min_value")]
public double? MinValue { get; set; }
Property Value
- double?
Name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- string
NameLocalizations
[JsonPropertyName("name_localizations")]
public IReadOnlyDictionary<string, string>? NameLocalizations { get; set; }
Property Value
- IReadOnlyDictionary<string, string>
Options
[JsonPropertyName("options")]
public JsonApplicationCommandOption[]? Options { get; set; }
Property Value
- JsonApplicationCommandOption[]
Required
[JsonPropertyName("required")]
public bool Required { get; set; }
Property Value
- bool
Type
[JsonPropertyName("type")]
public ApplicationCommandOptionType Type { get; set; }
Property Value
- ApplicationCommandOptionType