A script written in Pyrogram framework to mass delete messages from a Telegram channel. Requires a Session String of an admin with Delete Messages permission in the required channel.
Use a bot like @SessionStringGeneratorRobot or run the python file gen_session_string.py
provided in this repository.
A sample config.env
has been provided. First, you need to fill in all variables.
python3 main.py
- Pyrogram