Constructor DiscordComponentEmoji
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
DiscordComponentEmoji()
Constructs a new component emoji to add to a DiscordComponent.
public DiscordComponentEmoji()
DiscordComponentEmoji(ulong)
Constructs a new component emoji from an emoji Id.
public DiscordComponentEmoji(ulong id)
Parameters
id
ulongThe Id of the emoji to use. Any valid emoji Id can be passed.
DiscordComponentEmoji(string)
Constructs a new component emoji from unicode.
public DiscordComponentEmoji(string name)
Parameters
name
stringThe unicode emoji to set.
DiscordComponentEmoji(DiscordEmoji)
Constructs a new component emoji from an existing DiscordEmoji.
public DiscordComponentEmoji(DiscordEmoji emoji)
Parameters
emoji
DiscordEmojiThe emoji to use.