Table of Contents

Class JsonInteractionData

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

Constructors

JsonInteractionData()

public JsonInteractionData()

Properties

ComponentType

[JsonPropertyName("component_type")]
public ComponentType? ComponentType { get; set; }

Property Value

ComponentType?

Components

[JsonPropertyName("components")]
public JsonComponent[]? Components { get; set; }

Property Value

JsonComponent[]

CustomId

[JsonPropertyName("custom_id")]
public string? CustomId { get; set; }

Property Value

string

Id

[JsonPropertyName("id")]
public ulong? Id { get; set; }

Property Value

ulong?

Name

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

Property Value

string

Options

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

Property Value

JsonApplicationCommandInteractionDataOption[]

ResolvedData

[JsonPropertyName("resolved")]
public JsonInteractionResolvedData? ResolvedData { get; set; }

Property Value

JsonInteractionResolvedData

SelectedValues

[JsonPropertyName("values")]
public string[]? SelectedValues { get; set; }

Property Value

string[]

TargetId

[JsonPropertyName("target_id")]
public ulong? TargetId { get; set; }

Property Value

ulong?

Type

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

Property Value

ApplicationCommandType?