Search Results for

    Show / Hide Table of Contents

    Class DiscordApplicationCommandPermissionsData

    Represents a discord Application Command Permissions Structure API model. Docs: https://discord.com/developers/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure

    Inheritance
    Object
    DiscordApplicationCommandPermissionsData
    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.Application
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordApplicationCommandPermissionsData

    Properties

    | Improve this Doc View Source

    Allow

    true to allow, false, to disallow.

    Declaration
    [JsonPropertyName("permission")]
    public bool Allow { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Id

    The id of the role or user.

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

    Type

    The type of the IDiscordApplicationCommandPermissions.

    Declaration
    [JsonPropertyName("type")]
    public DiscordApplicationCommandPermissionsType Type { get; set; }
    Property Value
    Type Description
    DiscordApplicationCommandPermissionsType
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX