Skip to content

A telegram python script to copy and send messages

Notifications You must be signed in to change notification settings

nTorre/TelegramCopier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Sender

An app to send message from a chat to another. A copier.

Installation

pip install -r requirements.txt

Usage

  1. Modify .env file and add your information

  2. Create your keys here: https://my.telegram.org/auth?to=apps

  3. Modify the this file. It has to be like:

channel_source,channel_destination
canale1_username,chat2
chat_username,canale2_username
group>topic,chat3

where the first is the copied, the second the target. Do not change the first row. Attention to not have two channels with the same name. Use > for topic. 5. Then

python main.py

the first time on the device it should ask the code sent by telegram.


If you want to run in background:

nohup python main.py &

TODO

  • Add a parameter on connections.csv that allows to send also old messages

About

A telegram python script to copy and send messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages