Skip to content

joostshao/del_my_message

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

del_my_message

Deletes your messages from telegram.
By default, you delete all messages older than 24 hours.
Only for chats and dialogs you are currently in.
--------------------------------------
BE CAREFUL!
Please note that the script deletes ALL YOUR messages. Including messages from your private channels that you created.
--------------------------------------

Before working with Telegram’s API, you need to get your own API ID and hash:

    1. Login to your Telegram account (https://my.telegram.org/) with the phone number of the developer account to use.
    2. Click under API Development tools.
    3. A Create new application window will appear. Fill in your application details. There is no need to enter any URL, and only the first two fields (App title and Short name) can currently be changed later.
    4. Click on Create application at the end. Remember that your API hash is secret and Telegram won’t let you revoke it. Don’t post it anywhere!

requirements:
    telethone (pip3 install -U telethon --user)
    pytz

It is also worth noting that telegram traffic is blocked in some countries. In this case, use a proxy.

About

Deletes your messages from telegram.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%