Add Header / Footer

You can add a header or footer for each post when forward to channels target

Follow these steps

  1. Type /settings on Auto Forward Telegram BOT.

  2. Click Manage Forwarding Task to show list your Task.

  3. Select task you want add Header or Footer.

  4. Next click Advanced Configuration to can access the setup task forward.

  5. Finally the Add Header or Add Footer âžĄī¸

Enter content you want show with some options

📖 Some formats you can refer to:

🔧 Formatting Helpers

  • EMPTY – Use this if you don’t want to show the header.

  • \n – Line break.

  • \t – Add a tab space (horizontal spacing).


🧾 Message Content

  • [[ORIGIN_TEXT]] – The full content of the original message.

  • [[ORIGIN_QUOTED_TEXT]] – A quoted preview or snippet from the original post.

  • [[ORIGIN_DESCRIPTION]] – Description of the original channel or group.


👤 Sender Information

  • [[ORIGIN_USERNAME]] – Username of the original sender (if available).

  • [[ORIGIN_USERID]] – Telegram User ID of the original sender.

  • [[ORIGIN_NAME]] – Full name of the sender or the original channel name.

  • [[FROM_USER]] – Username of the user who forwarded the message.

  • [[SENDER_CHAT]] – Display name of the sender (can be user or chat).

  • [[FORWARD_FROM_CHAT]] – Name of the original message owner or source channel.


🕒 Time & Date

  • [[CURRENT_TIME]] – Current system time (HH:MM:SS).

  • [[CURRENT_DATE]] – Current date (DD/MM/YYYY).

  • [[CURRENT_DATETIME]] – Full current date and time.

  • [[CURRENT_TIMESTAMP]] – Current Unix timestamp.

  • [[ORIGIN_POST_TIME]] – Time the original post was created.

  • [[ORIGIN_POST_DATE]] – Original post creation date (raw).

  • [[ORIGIN_POST_DATE_FORMATTED]] – Formatted post date.

  • [[ORIGIN_POST_DATETIME]] – Full date and time of the original post.


📎 Post Metadata

  • [[ORIGIN_POST_ID]] – Message ID of the original post.

  • [[ORIGIN_CHAT_ID]] – Chat ID where the original post came from.

  • [[MESSAGE_ID]] – ID of the current message.

  • [[REPLY_TO_MESSAGE_ID]] – ID of the message this one is replying to.

  • [[IS_FORWARD]] – Whether the message is a forward (true / false).

  • [[IS_REPLY]] – Whether the message is a reply (true / false).

  • [[MESSAGE_LINK]] – Direct link to the original or forwarded message.


📡 Chat Information

  • [[CHAT_TYPE]] – Type of chat (PRIVATE, GROUP, CHANNEL, etc.).

  • [[CHAT_USERNAME]] – Username of the chat (if public).

  • [[CHAT_MEMBERS_COUNT]] – Number of members in the chat.

  • [[SOURCE_NAME]] – Name of the forward source (if available).

  • [[ORIGIN_NAME_URL]] – Hyperlinked name of the original source.


📂 Media Information

  • [[MEDIA_TYPE]] – Type of attached media (photo, video, document, etc.).

  • [[FILE_SIZE]] – File size (formatted).

  • [[FILE_NAME]] – File name.

  • [[HAS_MEDIA]] – Whether the message contains media (true / false).


📊 Message Stats

  • [[VIEW_COUNT]] – Number of views (for public channel posts).

  • [[FORWARD_COUNT]] – Number of times the message was forwarded.

  • [[REACTIONS_COUNT]] – Total number of reactions (if any).


âœī¸ Text Analysis

  • [[WORD_COUNT]] – Number of words in the message.

  • [[CHAR_COUNT]] – Number of characters.

  • [[LINE_COUNT]] – Number of lines.

  • [[TEXT_LENGTH]] – Length of the text (same as character count in most cases).


🔍 Content Extraction

  • [[HASHTAGS]] – All hashtags found in the message.

  • [[MENTIONS]] – All mentioned usernames (@user).

  • [[URLS]] – All URLs found in the message.


🎲 Randomization

  • [[RANDOM_EMOJI]] – A random emoji from a predefined collection.

  • [[RANDOM_NUMBER]] – A random number between 1–1000.

âœī¸ Add Header with format as

Content: [[ORIGIN_TEXT]]

From channel: [[ORIGIN_NAME]]

ID: [[ORIGIN_POST_ID]]

CHAT_ID: [[ORIGIN_CHAT_ID]]

\n

âžĄī¸ Result after forward content "Hello":

Content: Hello

From channel: Source chat test 2

ID: 4232

CHAT_ID: 1656164752

Hello

Last updated