Skip to content

telegram code for copying all messages from a chat to another chat in telegram

Notifications You must be signed in to change notification settings

sademakn/TelegramMessageCollector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usage:

1- go to 'https://my.telegram.org/auth' and login
2- go to API 'development tools'
3- copy 'api_id' and 'api_hash'
4- create a '.env' file and put the above variables like this:

api_id=1234567
api_hash=123456789abcdefghijklmnopqrstuvwxyz

5- run python file in terminal like bellow:
python main.py --source-chat='xxxxx' --target-chat='xxxxx' --sleep-time=1

TODO:
add filters for audio, photo, text, video, etc.
add Docker configuratioin

About

telegram code for copying all messages from a chat to another chat in telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published