{"repo":"MrMissx/Telegram_Forwarder","free":true,"listed":false,"github":"https://github.com/MrMissx/Telegram_Forwarder","clone":"git clone https://github.com/MrMissx/Telegram_Forwarder.git","description":"Telegram bot to forward message from channel/group","language":"Python","stars":647,"topics":["telegram","bot","telegram-bot","telegram-forwarder","forwarder"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"Telegram Forwarder A simple Telegram Python bot running on Python3 to automatically forward messages from one chat to another. Migration from V1 v2 uses a different configuration file format. Please refer to the Configuration section for more information. The bot will not start if the configuration file is not in the correct format. Starting The Bot Once you've setup your your configuration (see below) is complete, simply run: or with poetry (recommended) Setting Up The Bot (Read the instruction bellow before starting the bot!): Telegram Forwarder only supports Python 3.9 and higher. Configuration There are two files mandatory for the bot to work .env and chat list.json . .env Template env may be found in sample.env . Rename it to .env and fill in the values: - BOT TOKEN - Telegram bot token. You can get it from @BotFather - OWNER ID - An integer of consisting of your owner ID. - REMOVE TAG - set to True if you want to remove the tag (\"Forwarded from xxxxx\") from the forwarded message. chat list.json Template chat list may be found in chat list.sample.json . Rename it to chat list.json . This file contains the list of chats to forward messages from and to. The bot expect it to be an Array of objects with the following structure: - source - The chat ID of the chat to forward messages from. It can be a group or a channel. If the source chat is a Topic groups, you MUST explicitly specify the topic ID. The bot will ignore incoming message from topic group if the topic ID is not s","default_branch":null,"files":null,"tree":[],"storefront":"/r/MrMissx","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MrMissx/Telegram_Forwarder/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}