{"repo":"gurland/telegram-delete-all-messages","free":true,"listed":false,"github":"https://github.com/gurland/telegram-delete-all-messages","clone":"git clone https://github.com/gurland/telegram-delete-all-messages.git","description":"Delete all your messages in groups / supergroups using this python script","language":"Python","stars":453,"topics":["telegram","python-script","cli","privacy"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"telegram-delete-all-messages Delete all your messages in supergroups with python script. Installation To install this script you have to download project and install requirements: Linux Windows - Download zip file from this repo and unpack it - Install latest CPython 3 version - Run install.bat - Run start.bat Obtain standalone telegram app API credentials - Login to https://my.telegram.org/ - Select API development tools link - Create standalone application - Copy app id and app hash Usage You need both App api id and App api hash to use script. Environment variables You could set API ID and API HASH environment variables to prevent entering API credentials manually. Start After starting script you will be prompted: - To enter your Telegram APP credentials (if no environment variables found) - To pick a login method, phone number is the default one - Your account phone and then code sent to you by Telegram The login method is only asked once, on the very first run. Afterwards the saved session is reused and you go straight to picking groups. Log in with a QR code If Telegram never delivers the confirmation code to you, pick option 2 instead. The script prints a QR code in your terminal and regenerates it every 25 seconds until it is scanned. On your phone, go to Settings - Devices - Link Desktop Device and scan it. If your account has two-step verification enabled, you will be asked for the password after scanning. Choosing supergroup - After providing needed information you","default_branch":null,"files":null,"tree":[],"storefront":"/r/gurland","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gurland/telegram-delete-all-messages/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}