Search Results for

    Show / Hide Table of Contents

    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

    Inheritance
    Object
    DiscordGuildApplicationCommandPermissionsData
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.DataModels.Guild
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordGuildApplicationCommandPermissionsData

    Properties

    | Improve this Doc View Source

    ApplicationId

    The id of the application the command belongs to.

    Declaration
    [JsonPropertyName("application_id")]
    public ulong ApplicationId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    CommandId

    Unique id of the command.

    Declaration
    [JsonPropertyName("id")]
    public ulong CommandId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    GuildId

    The id of the guild.

    Declaration
    [JsonPropertyName("guild_id")]
    public ulong GuildId { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    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>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX