Table of Contents

Class JsonApplicationCommandInteractionDataOption

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonApplicationCommandInteractionDataOption
Inheritance
JsonApplicationCommandInteractionDataOption
Inherited Members

Constructors

JsonApplicationCommandInteractionDataOption()

public JsonApplicationCommandInteractionDataOption()

Properties

Focused

[JsonPropertyName("focused")]
public bool Focused { get; set; }

Property Value

bool

Name

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string

Options

[JsonPropertyName("options")]
public JsonApplicationCommandInteractionDataOption[]? Options { get; set; }

Property Value

JsonApplicationCommandInteractionDataOption[]

Type

[JsonPropertyName("type")]
public ApplicationCommandOptionType Type { get; set; }

Property Value

ApplicationCommandOptionType

Value

[JsonConverter(typeof(AnyValueToStringConverter))]
[JsonPropertyName("value")]
public string? Value { get; set; }

Property Value

string