Custom emoji

Premium emoji in headers, footers and templates, and in the forwarded posts themselves.

Telegram Premium emoji (custom emoji) are animated icons from sticker packs that can be used inside text. Routify supports them in two places.

Available from the Pro plan.

The emoji window of the editor: regular, premium by ID and from a set.
The emoji window of the editor: regular, premium by ID and from a set.

In templates, headers and footers

Any custom emoji can go into a message template through the ☺ button on the toolbar of the mini app's template editor: it opens one window — recent emoji, your sets, the plain emoji grid and a field for a premium emoji by id — and inserts the <tg-emoji> code. The same window fills the premium-emoji field of an inline button, and a double-click on an inserted emoji reopens it for editing. A copied ![🤖](tg://emoji?id=…) token pasted into the editor also becomes a live emoji. In the visual editor a premium emoji is shown as its picture, like in Telegram; the HTML source mode shows the code behind it. The button works in a template whether the bot or your account delivers the source, with one exception: for a source delivered by an account without Telegram Premium it shows a hint instead of the window. See below how each of them sends the emoji.

Written by hand, a premium emoji looks like this:

<tg-emoji emoji-id="5368324170671202286">🔥</tg-emoji>

The character inside the tag is the fallback: it is what readers see in a client that cannot show the premium one.

In forwarded posts

A post arrives with its custom emoji intact. When the bot delivers, it carries them into the destination itself — no Telegram Premium on your account is needed. When your account delivers, premium emoji are kept only if that account has Telegram Premium; otherwise they are replaced with the regular emoji inside the tags. The same applies to premium emoji from a template. The limits of Telegram are unchanged (1024 characters for a media caption, 4096 for a text-only post), but nothing is trimmed: see Templates.

Remove emoji in text replacements strips premium emoji too — the whole tag, not just the character inside it.

Where to get an emoji id

Any Telegram client that shows sticker packs can copy a premium emoji; pasting it into the editor is the simplest way. The id is also visible in the HTML source mode after inserting the emoji once.

Set up your first forward today

Every post you copy by hand is time the bot could save you. Open the bot, send a public channel’s link and pick where to forward it: the first messages arrive within minutes.

Open @RoutifyBot