Class DiscordComponentEmoji
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
Represents an emoji to add to a component.
public sealed class DiscordComponentEmoji
- Inheritance
-
objectDiscordComponentEmoji
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.