Table of Contents

Class DiscordComponentEmoji

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents an emoji to add to a component.

public sealed class DiscordComponentEmoji
Inheritance
DiscordComponentEmoji

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.