A Powerful And Efficient Telegram Bot Designed To Forward Videos And Documents From Multiple Source Channels To Multiple Target Channels Without The "Forwarded From" Tag.
Join Telegram - SilentXBotz
- Multi-Source & Multi-Target: Supports Forwarding From Multiple Source Channels To Multiple Destination Channels.
- Content Filtering: Strictly Forwards Only Videos And Documents. Ignores Text, Photos, Stickers, and GIFs.
- Tag Removal: Forwards Messages Without The "Forwarded From" Tag.
- Instant Delivery: Optimized Queue Processing For Near-Instant Forwarding.
- Flood Wait Handling: Automatically Handles Telegram's Flood Wait Limits.
- Keep-Alive: Built-In Web Server To Keep The Bot Running On Platform Like Heroku/Koyeb.
The Bot Is Configured Using .
| Variable | Description | Required | Default |
|---|---|---|---|
API_ID |
Your Telegram API ID From my.telegram.org | Yes | - |
API_HASH |
Your Telegram API Hash From my.telegram.org | Yes | - |
BOT_TOKEN |
Your Bot Token From @BotFather | Yes | - |
SOURCE_CHANNELS |
Comma-Separated List Of Source Channel IDs (e.g., -100123, -100456) |
Yes | - |
TARGET_CHANNELS |
Comma-separated List Of Target Channel IDs (e.g., -100789, -100321) |
Yes | - |
WEB_SERVER |
Set To True To Enable The Keep-Alive Web Server. |
Optional | True |
PORT |
Port For The Web Server. | Optional | 8080 |
TG_WORKERS |
Number Of Pyrogram workers. | Optional | 4 |
APP_URL |
URL Of Your Deployed App (Used For Self-Pinning To Keep Awake). | Yes | None |
- Click The Button Above.
- Fill In The Required Environment Variables.
- Click Deploy app.
- Turn On The worker Dyno (And web Dyno If Using
WEB_SERVER).
- Fork This Repository.
- Create A New Service On Koyeb/Render.
- Select "Docker" As The Deployment Method.
- Set The Environment Variables.
- Deploy.
-
Clone the repository:
git clone https://github.com/NBBotz/Auto-Forward-Bot.git cd SilentXForward -
Install dependencies:
pip install -r requirements.txt
-
Set environment variables: You can create a
.envfile or export them in your terminal.export API_ID=your_api_id export API_HASH=your_api_hash export BOT_TOKEN=your_bot_token export SOURCE_CHANNELS="-10012345678, -10087654321" export TARGET_CHANNELS="-10011223344, -10055667788"
-
Run the bot:
python bot.py
- Built With Pyrogram
- Maintained By SilentXBotz