Search Results for

    Show / Hide Table of Contents

    Interface IDiscordEmoji

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

    Namespace: Color_Chan.Discord.Core.Common.Models
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordEmoji

    Properties

    | Improve this Doc View Source

    Id

    Emoji id.

    Declaration
    ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    IsAnimated

    Whether this emoji is animated.

    Declaration
    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
    bool? IsAvailable { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    IsManaged

    Whether this emoji is managed.

    Declaration
    bool? IsManaged { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    Name

    Emoji name

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    RequireColons

    Whether this emoji must be wrapped in colons.

    Declaration
    bool? RequireColons { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    RoleIds

    Roles allowed to use this emoji

    Declaration
    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
    IDiscordUser User { get; set; }
    Property Value
    Type Description
    IDiscordUser

    Methods

    | Improve this Doc View Source

    ToDataModel()

    Converts the model back to a discord data model so that it can be send to discord.

    Declaration
    DiscordEmojiData ToDataModel()
    Returns
    Type Description
    DiscordEmojiData

    The converted DiscordEmojiData.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX