Search Results for

    Show / Hide Table of Contents

    Class DiscordComponentEmoji

    Represents an emoji to add to a component.

    Inheritance
    System.Object
    DiscordComponentEmoji
    Namespace: DisCatSharp.Entities
    Assembly: DisCatSharp.dll
    Syntax
    public sealed class DiscordComponentEmoji

    Constructors

    | Improve this Doc View Source

    DiscordComponentEmoji()

    Constructs a new component emoji to add to a DiscordComponent.

    Declaration
    public DiscordComponentEmoji()
    | Improve this Doc View Source

    DiscordComponentEmoji(DiscordEmoji)

    Constructs a new component emoji from an existing DiscordEmoji.

    Declaration
    public DiscordComponentEmoji(DiscordEmoji emoji)
    Parameters
    Type Name Description
    DiscordEmoji emoji

    The emoji to use.

    | Improve this Doc View Source

    DiscordComponentEmoji(String)

    Constructs a new component emoji from unicode.

    Declaration
    public DiscordComponentEmoji(string name)
    Parameters
    Type Name Description
    System.String name

    The unicode emoji to set.

    | Improve this Doc View Source

    DiscordComponentEmoji(UInt64)

    Constructs a new component emoji from an emoji Id.

    Declaration
    public DiscordComponentEmoji(ulong id)
    Parameters
    Type Name Description
    System.UInt64 id

    The Id of the emoji to use. Any valid emoji Id can be passed.

    Properties

    | Improve this Doc View Source

    Id

    The Id of the emoji to use.

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

    Name

    The name of the emoji to use. Ignored if Id is set.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems