Discord.https - v3.0.16
    Preparing search index...

    Interface FormatEmojiOptions<EmojiId, EmojiName>

    The options for formatting an emoji.

    interface FormatEmojiOptions<
        EmojiId extends Snowflake,
        EmojiName extends string,
    > {
        animated?: boolean;
        id: EmojiId;
        name?: EmojiName;
    }

    Type Parameters

    • EmojiId extends Snowflake

      This is inferred by the supplied emoji id

    • EmojiName extends string

      This is inferred by the supplied emoji name

    Index

    Properties

    Properties

    animated?: boolean

    Whether the emoji is animated

    The emoji id to format

    name?: EmojiName

    The name of the emoji