Class JsonComponent
- Namespace
- NetCord.JsonModels
- Assembly
- NetCord.dll
public class JsonComponent
- Inheritance
-
JsonComponent
- Inherited Members
-
Constructors
JsonComponent()
Properties
ChannelTypes
[JsonPropertyName("channel_types")]
public ChannelType[]? ChannelTypes { get; set; }
Property Value
- ChannelType[]
Components
[JsonPropertyName("components")]
public JsonComponent[] Components { get; set; }
Property Value
- JsonComponent[]
CustomId
[JsonPropertyName("custom_id")]
public string? CustomId { get; set; }
Property Value
- string
DefaultValues
[JsonPropertyName("default_values")]
public JsonSelectMenuDefaultValue[]? DefaultValues { get; set; }
Property Value
- JsonSelectMenuDefaultValue[]
Disabled
[JsonPropertyName("disabled")]
public bool? Disabled { get; set; }
Property Value
- bool?
Emoji
[JsonPropertyName("emoji")]
public JsonEmoji? Emoji { get; set; }
Property Value
- JsonEmoji
Label
[JsonPropertyName("label")]
public string? Label { get; set; }
Property Value
- string
MaxLength
[JsonPropertyName("max_length")]
public int? MaxLength { get; set; }
Property Value
- int?
MaxValues
[JsonPropertyName("max_values")]
public int? MaxValues { get; set; }
Property Value
- int?
MinLength
[JsonPropertyName("min_length")]
public int? MinLength { get; set; }
Property Value
- int?
MinValues
[JsonPropertyName("min_values")]
public int? MinValues { get; set; }
Property Value
- int?
Options
[JsonPropertyName("options")]
public JsonMenuSelectOption[] Options { get; set; }
Property Value
- JsonMenuSelectOption[]
Placeholder
[JsonPropertyName("placeholder")]
public string? Placeholder { get; set; }
Property Value
- string
Required
[JsonPropertyName("required")]
public bool? Required { get; set; }
Property Value
- bool?
SkuId
[JsonPropertyName("sku_id")]
public ulong? SkuId { get; set; }
Property Value
- ulong?
Style
[JsonPropertyName("style")]
public ButtonStyle? Style { get; set; }
Property Value
- ButtonStyle?
Type
[JsonPropertyName("type")]
public ComponentType Type { get; set; }
Property Value
- ComponentType
Url
[JsonPropertyName("url")]
public string? Url { get; set; }
Property Value
- string
Value
[JsonPropertyName("value")]
public string? Value { get; set; }
Property Value
- string