- Create an app at my.telegram.org and insert its
API_ID
andAPI_HASH
into.env
- Run
python3 get_chats.py
to look up desiredPRIVATE_CHAT_ID
andREDIRECT_CHAT_ID
to add them into.env
sudo su
crontab -e
- Create a Cron job based on
crontab-e.example
- Note that running with
{"id": 0}
will redirect all available messages from private chat. To avoid this, figure out last channel message id and paste it there - Done
-
Notifications
You must be signed in to change notification settings - Fork 1
fortisai/tg_private_forward_tool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published