Skip to content

Script for reposting messages from several (closed) chats to one

Notifications You must be signed in to change notification settings

artem-alexandrov/telegram_reposter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1. Add a config.ini file with contents like so:

[pyrogram]
api_id = %your api id%
api_hash = %your api hash%

2. run requirements install:

pip install -r requirements

3. start script:

python main.py

---

Script will ask for your phone number, and then the authorization code.
After auth is succeeded it will ask which chats/channels you want to track
and what chat/channel should receive all the reposts

---

Pyrogram hotfix

You need to open this file <pyrogram_root>/pyrogram/api/types/messages/channel_messages.py and put this line Int.read(b) right after the # No flags comment in read method, line 44

About

Script for reposting messages from several (closed) chats to one

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages