With this project, you can access telegram user and forward message from A,B,C,D,E
to F,G,H,I,J
.
- Clone this project.
git clone link-project.git
- Open the project folder, and install requirement.
pip3 install -r requirements.txt
- Open my.telegram.org to get your API_ID and API_HASH then use it in file
noise/write_chat_id.py
andmain.py
. - Run
python3 noise/write_chat_id.py
, input your phone number and login code. That file will print all your history chat with chat id, or you can openchat_id_all.json
that just created. - Copy all chat_id that you want to
chat_id_receivers.json
andchat_id.senders.json
. - Run
python3 main.py
, now all chat that come from senders will be forward to receivers.