Search Results for

    Show / Hide Table of Contents

    Class DiscordEmojiData

    Represents a discord emoji structure API model. Docs: https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure

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

    Properties

    | Improve this Doc View Source

    Id

    Emoji id.

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

    IsAnimated

    Whether this emoji is animated.

    Declaration
    [JsonPropertyName("animated")]
    public bool? IsAnimated { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    IsAvailable

    Whether this emoji can be used, may be false due to loss of Server Boosts.

    Declaration
    [JsonPropertyName("available")]
    public bool? IsAvailable { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    IsManaged

    Whether this emoji is managed.

    Declaration
    [JsonPropertyName("managed")]
    public bool? IsManaged { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    Name

    Emoji name

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

    RequireColons

    Whether this emoji must be wrapped in colons.

    Declaration
    [JsonPropertyName("require_colons")]
    public bool? RequireColons { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    RoleIds

    Roles allowed to use this emoji

    Declaration
    [JsonPropertyName("roles")]
    public IEnumerable<ulong> RoleIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.UInt64>
    | Improve this Doc View Source

    User

    User that created this emoji

    Declaration
    [JsonPropertyName("user")]
    public DiscordUserData User { get; set; }
    Property Value
    Type Description
    DiscordUserData

    Implements

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