Class JsonApplicationCommand
- Namespace
- NetCord.Rest.JsonModels
- Assembly
- NetCord.dll
public class JsonApplicationCommand : JsonEntity
- Inheritance
-
JsonApplicationCommand
- Inherited Members
-
Constructors
JsonApplicationCommand()
public JsonApplicationCommand()
Properties
ApplicationId
[JsonPropertyName("application_id")]
public ulong ApplicationId { get; set; }
Property Value
- ulong
Contexts
[JsonPropertyName("contexts")]
public InteractionContextType[]? Contexts { get; set; }
Property Value
- InteractionContextType[]
DMPermission
[Obsolete("Replaced by 'Contexts'.")]
[JsonPropertyName("dm_permission")]
public bool? DMPermission { get; set; }
Property Value
- bool?
DefaultGuildUserPermissions
[JsonPropertyName("default_member_permissions")]
public Permissions? DefaultGuildUserPermissions { get; set; }
Property Value
- Permissions?
DefaultPermission
[Obsolete("Replaced by 'DefaultGuildUserPermissions'.")]
[JsonPropertyName("default_permission")]
public bool DefaultPermission { get; set; }
Property Value
- bool
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>
GuildId
[JsonPropertyName("guild_id")]
public ulong? GuildId { get; set; }
Property Value
- ulong?
IntegrationTypes
[JsonPropertyName("integration_types")]
public ApplicationIntegrationType[]? IntegrationTypes { get; set; }
Property Value
- ApplicationIntegrationType[]
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>
Nsfw
[JsonPropertyName("nsfw")]
public bool Nsfw { get; set; }
Property Value
- bool
Options
[JsonPropertyName("options")]
public JsonApplicationCommandOption[]? Options { get; set; }
Property Value
- JsonApplicationCommandOption[]
Type
[JsonPropertyName("type")]
public ApplicationCommandType Type { get; set; }
Property Value
- ApplicationCommandType
Version
[JsonPropertyName("version")]
public ulong Version { get; set; }
Property Value
- ulong