Remove All Delete account and Bot Telegram
Make sure you have the telethon library installed. You can install it using pip:
**bash**
~> pip install telethon
✅YOUR_API_ID
✅YOUR_API_HASH
✅+YOUR_PHONE_NUMBER
with your actual Telegram API credentials and phone number.
bash :
~> python Delete.py
API Credentials:
Obtain your API ID and API Hash from my.telegram.org.
Session File:
The script creates a session_name.session file to store your login session. Keep this file secure.
Permissions:
If you’re an admin in a group, you may need to resign as admin before leaving.
Use with Caution:
This script leaves all groups and channels. Use it carefully.
A Python script to automatically delete all chats with deleted accounts and bots on Telegram.
- Detects and deletes chats with deleted accounts.
- Detects and deletes chats with bots.
- Uses the Telethon library to interact with the Telegram API.
- Python 3.7+
- Telethon library