RichTextCustomEmoji

class pyrogram.types.RichTextCustomEmoji[source]

A custom emoji.

Parameters:
  • custom_emoji_id (str) – Unique identifier of the custom emoji. Use pyrogram.Client.get_custom_emoji_stickers() to get full information about the sticker.

  • alternative_text (str) – Alternative emoji for the custom emoji.