Skip to content

You can delete all messages from the telegram chat by specifying its ID

Notifications You must be signed in to change notification settings

seabasssec/del_my_messages_from_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

del_my_messages_from_chat

You can delete all messages from the telegram chat by specifying its ID

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)

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

About

You can delete all messages from the telegram chat by specifying its ID

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages