Message template
Header and footer, your own template built from variables, inline buttons.
Message template controls how a delivered post looks. It exists for the chat and for every source; a source template replaces the chat one.
Available from the Pro plan.


Message formatting
Three toggles at the top of the screen, above the template editor. They are independent of it — they apply to every message right away, even while the editor itself is locked:
- Remove source name — only the post text stays, without the "— Source name" signature.
- Remove link to original — the "— Source name" signature arrives as plain text instead of a link to the post. It does not touch your own template: there you add the link yourself —
<a href="{$media_url}">{$source_title}</a>. - Remove post text — only the "— Source name" signature remains. It does not combine with "Remove source name": with both switched on, the post arrives with its full text.
Header and footer
The simplest layout, and it has no fields of its own: the header and footer are typed right in the template editor. Tap into the empty editor — it inserts {$default_message}, the base message, by itself; everything above it is the header of every post, everything below it is the footer. Both accept Telegram HTML and premium emoji.
The base message
Without a template a post arrives as the base message — its text as it came from the source chat, after filters, replacements and AI. The section shows what it looks like, so you can decide whether you need a template at all.
Your own template
The editor starts with a single line, {$default_message}, which stands for the base message. Type your header above it and your footer below, or replace it entirely with the variables:
| Variable | Meaning |
|---|---|
{$default_message} | the whole base message |
{$media_description} | the post text |
{$source_title} | the source name |
{$source_url} | the link to the source chat |
{$media_url} | the link to the original post |
{$author_name} | the author of the message, in a group |
{$author_url} | a link to the author, in a group |
A source is always a Telegram chat, so there is no separate post title to put in a header the way an RSS feed has one — a channel's name is {$source_title}, not a per-post title. A variable that has no value for a post — the author in a channel, say — is simply left out.
Formatting is Telegram HTML: <b>, <i>, <u>, <s>, <code>, <a href="…">, <tg-spoiler>. The toolbar inserts them.
Example of a channel template:
<b>{$source_title}</b>
{$media_description}
<a href="{$media_url}">Original</a> · @mychannel
Reset and Save sit at the bottom of the editor, with a "You have unsaved changes" hint once you start typing.
To see the result on a real post, save the template and press Send latest post in the source card: the bot delivers the newest message of the source with the new template.
Buttons
Inline buttons under the message are added in the same editor with Add Button: a link, a title and, optionally, a premium emoji. Buttons work only when the bot delivers: under an album the bot sends them in the same rich gallery, or as a separate "⬆️" message right after the album. Delivery from your account sends no buttons, so a source delivered by the account has no Add Button in its template.
Custom emoji
Premium emoji in a template are written as <tg-emoji emoji-id="…">😀</tg-emoji>; the emoji picker in the template editor inserts them for you. For a source that an account without Telegram Premium delivers, the ☺ button shows a hint that a Premium account is needed instead of the picker. The bot carries premium emoji as they are; an account without Telegram Premium sends regular emoji in their place. Details are in Custom emoji.
Length
Telegram limits a text message to 4096 characters and a media caption to 1024, and the template counts towards the limit. Nothing is trimmed, though: when the bot delivers a post whose caption does not fit 1024, it sends one rich message with the media and the full text; an account sends the media and the rest of the text as the next message (an account with Telegram Premium fits 4096 in a caption).