A python script to copy telegram messages to another chat (without forwarding)
This bot does exactly what it is intented to do! If you want other features (e.g. editing messages, updating messages, etc), you have to customize it for yourself. Reading python-telegram and TDlib documentation may help you for doing so.
PLEASE DON'T ASK FOR NEW FEATURES!
This bot copies (not forward) messages from a source channel (which doesn't have administrator privileges on it) to a destination chat (simple user, channel, etc.).
.env.example
to .env
.
cp .env.example .env
api_id
and api_hash
from this link and fill it inside Telegram Configuration
section of the .env
file alongside other configurations (such as phone number of your user, which acts as your bot).docker run -it \
--env-file=.env \
-v td-data:/tmp/.tdlib_files \
radinshayanfar/tgcopybot
App Configuration
section of the .env
file.docker run -d \
--env-file=.env \
-v td-data:/tmp/.tdlib_files \
radinshayanfar/tgcopybot