Deletes all your messages from the groups you select
Python 3.7+
Download this repository and install telethon
git clone https://github.com/win9z/tgcleaner/
cd tgcleaner
pip3 install telethon
Change api key and api hash to yours in tgcleaner.py (You can get it here)
EXAMPLE, replace it with own values:
api_id = "1234567"
api_hash = "j6zavvzn2q1dkdz2kfnortqyi65hidij"
then you can start script by double clicking on .py file or via command python tgcleaner.py