Add Header / Footer
Last updated
Last updated
Follow these steps
Type /settings on Auto Forward Telegram BOT.
Click Manage Forwarding Task to show list your Task.
Select task you want add Header or Footer.
Next click Advanced Configuration to can access the setup task forward.
Finally the Add Header or Add Footer โก๏ธ
Enter content you want show with some options
๐ Some formats you can refer to:
EMPTY โ Use this if you donโt want to show the header.
\n โ Line break.
\t โ Add a tab space (horizontal spacing).
[[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.
[[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.
[[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.
[[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_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_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).
[[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).
[[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).
[[HASHTAGS]] โ All hashtags found in the message.
[[MENTIONS]] โ All mentioned usernames (@user).
[[URLS]] โ All URLs found in the message.
[[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