Telegra.m Multi-Bot Forwarding & History Extractor

Job ID: 40335026

Budget: $30 – $250 USD

I need this :




Here’s how I would define the exact requirements:

Script 1: Multi-Bot Forwarding System
Core behavior

You input:
A destination Telegra,m bot token (your main bot)
A list of source bot tokens
The script listens to all source bots and forwards messages to your main bot.
Forwarded message format

Each forwarded message will be structured exactly like this:
Bot Username:
Text Message:
Sender chat id:
Sender First Name:
Sender Last Name:
Sender Username:
Time:

I’ll extract:
Chat ID from token (before ":")
Full sender metadata from the message object
Exact message content (text, captions, etc.)

Media support:
Photos, videos, documents, etc. will also be forwarded
Caption will include the formatted metadata Dynamic token control (VERY important feature)
Add/remove tokens while script is running
No restart needed

You’ll have options like:
CLI command (e.g. remove )
OR monitored file (edit a .json or .txt and it updates live)
Performance
Async system (handles hundreds of bots concurrently)
Rate-limit protection
Auto-reconnect if any bot drops



Script 2: Chat History Extractor
Input
A list of bot tokens
Behavior

For each token:

Fetch full available history
Process messages one by one
Save everything into structured folders
Output structure
/exports/
/bot_username_1/
chat.txt
/media/
image1.jpg
file1.pdf
/bot_username_2/
chat.txt
/media/
...
chat.txt format

Each entry:

[07/19/2025, 12:42:02]
User: John Doe (@johndoe)
Message: Hello world
Media handling
Download all:
Images
Videos
Documents
Save with unique filenames
Reference them inside chat.txt
Processing logic
Goes token by token
Completes one before moving to next
Handles large histories safely (pagination)