Skip to content

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.

License

Notifications You must be signed in to change notification settings

dakshy/delete-telegram-channel-messages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delete Telegram Channel Messages

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.

Steps

1) Get Session String

Use a bot like @SessionStringGeneratorRobot or run the python file gen_session_string.py provided in this repository.

2) Fill variables in config.env

A sample config.env has been provided. First, you need to fill in all variables.

3) Run the script

python3 main.py

Libraries Used

  • Pyrogram

Credits

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages