telegramx.js

RichTextCustomEmoji

interface

A custom emoji.

Declaration

interface RichTextCustomEmoji 

Properties

alternative_text: string;

Alternative emoji for the custom emoji

custom_emoji_id: string;

Unique identifier of the custom emoji. Use getCustomEmojiStickers to get full information about the sticker.

typeproperty#
type: 'custom_emoji';

Type of the rich text, always "custom_emoji"