Table of Contents

Class JsonInteraction

Namespace
NetCord.JsonModels
Assembly
NetCord.dll
public class JsonInteraction : JsonEntity
Inheritance
JsonInteraction
Inherited Members

Constructors

JsonInteraction()

public JsonInteraction()

Properties

AppPermissions

[JsonPropertyName("app_permissions")]
public Permissions AppPermissions { get; set; }

Property Value

Permissions

ApplicationId

[JsonPropertyName("application_id")]
public ulong ApplicationId { get; set; }

Property Value

ulong

AuthorizingIntegrationOwners

[JsonPropertyName("authorizing_integration_owners")]
public IReadOnlyDictionary<ApplicationIntegrationType, ulong>? AuthorizingIntegrationOwners { get; set; }

Property Value

IReadOnlyDictionary<ApplicationIntegrationType, ulong>

Channel

[JsonPropertyName("channel")]
public JsonChannel? Channel { get; set; }

Property Value

JsonChannel

Context

[JsonPropertyName("context")]
public InteractionContextType? Context { get; set; }

Property Value

InteractionContextType?

Data

[JsonPropertyName("data")]
public JsonInteractionData? Data { get; set; }

Property Value

JsonInteractionData

Entitlements

[JsonPropertyName("entitlements")]
public JsonEntitlement[] Entitlements { get; set; }

Property Value

JsonEntitlement[]

GuildId

[JsonPropertyName("guild_id")]
public ulong? GuildId { get; set; }

Property Value

ulong?

GuildLocale

[JsonPropertyName("guild_locale")]
public string? GuildLocale { get; set; }

Property Value

string

GuildReference

[JsonPropertyName("guild")]
public JsonInteractionGuildReference? GuildReference { get; set; }

Property Value

JsonInteractionGuildReference

GuildUser

[JsonPropertyName("member")]
public JsonGuildUser? GuildUser { get; set; }

Property Value

JsonGuildUser

Message

[JsonPropertyName("message")]
public JsonMessage? Message { get; set; }

Property Value

JsonMessage

Token

[JsonPropertyName("token")]
public string Token { get; set; }

Property Value

string

Type

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

Property Value

InteractionType

User

[JsonPropertyName("user")]
public JsonUser? User { get; set; }

Property Value

JsonUser

UserLocale

[JsonPropertyName("locale")]
public string? UserLocale { get; set; }

Property Value

string