Bot.addCustomEmojis<TEmojiName extends string>(emojis: Readonly<Record<TEmojiName, CustomEmoji>>): Readonly<Record<TEmojiName, DeferredCustomEmoji<TContextData>>>
Defines custom emojis for the bot. The custom emojis are used for rendering the bot's profile and posts. The custom emojis are defined by their names, and the names are used as the keys of the emojis.
TEmojiName extends string
emojis: Readonly<Record<TEmojiName, CustomEmoji>>
The custom emojis to define. The keys are the names of the emojis, and the values are the custom emoji definitions.
Readonly<Record<TEmojiName, DeferredCustomEmoji<TContextData>>>
The defined emojis. The keys are the names of the emojis, and the values are the emoji objects, which are used for passing to the customEmoji function.