Search Results for

    Show / Hide Table of Contents

    Class DiscordGuildRoleData

    Represents a discord Role Structure API model. Docs: https://discord.com/developers/docs/topics/permissions#role-object-role-structure

    Inheritance
    Object
    DiscordGuildRoleData
    Implements
    IEquatable<DiscordGuildRoleData>
    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 DiscordGuildRoleData : IEquatable<DiscordGuildRoleData>

    Properties

    | Improve this Doc View Source

    Color

    Integer representation of hexadecimal color code.

    Declaration
    [JsonPropertyName("color")]
    public Color Color { get; set; }
    Property Value
    Type Description
    Color
    | Improve this Doc View Source

    Id

    Role id.

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

    IsHoisted

    If this role is pinned in the user listing.

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

    Managed

    Whether this role is managed by an integration

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

    Mentionable

    Whether this role is mentionable

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

    Name

    Role name.

    Declaration
    [JsonPropertyName("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Permissions

    Permission bit set.

    Declaration
    [JsonPropertyName("permissions")]
    public DiscordPermission Permissions { get; set; }
    Property Value
    Type Description
    DiscordPermission
    | Improve this Doc View Source

    Position

    Position of this role.

    Declaration
    [JsonPropertyName("position")]
    public int Position { get; set; }
    Property Value
    Type Description
    Int32

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX