Class DiscordGuildApplicationCommandPermissionsData
Represents a discord Guild Application Command Permissions Structure API model. Docs: https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Guild
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordGuildApplicationCommandPermissionsData
Properties
| Improve this Doc View SourceApplicationId
The id of the application the command belongs to.
Declaration
[JsonPropertyName("application_id")]
public ulong ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
CommandId
Unique id of the command.
Declaration
[JsonPropertyName("id")]
public ulong CommandId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
GuildId
The id of the guild.
Declaration
[JsonPropertyName("guild_id")]
public ulong GuildId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Permissions
The permissions for the command in the guild.
Declaration
[JsonPropertyName("permissions")]
public IEnumerable<DiscordApplicationCommandPermissionsData> Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<DiscordApplicationCommandPermissionsData> |