Table of Contents

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 ulong

The 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 string

The unicode emoji to set.

DiscordComponentEmoji(DiscordEmoji)

Constructs a new component emoji from an existing DiscordEmoji.

public DiscordComponentEmoji(DiscordEmoji emoji)

Parameters

emoji DiscordEmoji

The emoji to use.