interface FormatEmojiOptions

external
interface FormatEmojiOptions<EmojiId extends Snowflake, EmojiName extends string>

The options for formatting an emoji.

Type Parameters

EmojiId extends Snowflake

This is inferred by the supplied emoji id

EmojiName extends string

This is inferred by the supplied emoji name

optionalexternal
animated? : boolean

Whether the emoji is animated

external
id : EmojiId

The emoji id to format

optionalexternal
name? : EmojiName

The name of the emoji