Skip to main content
Telegram supports custom (premium) emoji in buttons and messages. To use them, the bot must have a paid username (Fragment) or the bot owner must have an active Telegram Premium subscription.

How to get an emoji ID

  1. Send the desired custom emoji to @getidsbot or @RawDataBot.
  2. The bot will reply with message details including the custom_emoji_id field.

Syntax

Two formats are supported directly in .ftl key values.

Full format

Short format

The fallback text inside the tag (a plain emoji) is shown on clients that donโ€™t support custom emoji. It is recommended to always provide it.