Table of Contents

Class DiscordComponentEmoji

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents an emoji to add to a component.

public sealed class DiscordComponentEmoji : ObservableApiObject
Inheritance
DiscordComponentEmoji
Inherited Members

Constructors

DiscordComponentEmoji()

Constructs a new component emoji to add to a DiscordComponent.

DiscordComponentEmoji(DiscordEmoji)

Constructs a new component emoji from an existing DiscordEmoji.

DiscordComponentEmoji(string)

Constructs a new component emoji from unicode.

DiscordComponentEmoji(ulong)

Constructs a new component emoji from an emoji Id.

Properties

Id

The Id of the emoji to use.

Name

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