telegram-delete-all-messages
telegram-delete-all-messages copied to clipboard
Delete all your messages in groups / supergroups using this python script
# pip3 show pyrogram ``` Name: Pyrogram Version: 2.0.106 ``` ``` Traceback (most recent call last): File "/root/telegram-delete-all-messages/cleaner.py", line 154, in deleter.select_groups() File "/root/telegram-delete-all-messages/cleaner.py", line 67, in select_groups chats =...
Several improvements: - storing group list in the config file - 'cache' file renamed into 'config.json' - new mode for purging messages older than N days - ASSUME_YES=1 environment variable...
fixes #67
If you see an error UnicodeEncodeError: 'ascii' codec can't encode characters as happened to me on Mac, doing `export PYTHONIOENCODING=utf8` may help you. Sorry, I don't know if it should...
Add confirmation before deleteing messages and chat id near name of chat
So I tried to delete messages from a group. But it only removed like first 5000 of them. Manually searching for them in telegram I can see the rest. But...
Example: ``` Delete all your messages in [...] 19. Sci⛷🚠 [...] 22. Sci⛷🚠 [...] 163. Birthday group 164. Birthday group [...] 170. Friends group [...] 185. Friends group 186. EP...
there is a possibility to delete messages on type:channels. its find channels, when i change the type but it doesn't find messages.
Traceback (most recent call last): File "/root/telegram-delete-all-messages/cleaner.py", line 154, in deleter.select_groups() File "/root/telegram-delete-all-messages/cleaner.py", line 67, in select_groups chats = self.get_all_chats() File "/root/telegram-delete-all-messages/cleaner.py", line 57, in get_all_chats dialogs = app.get_dialogs(pinned_only=True) File...