Telethon icon indicating copy to clipboard operation
Telethon copied to clipboard

Support easily deleting all messages from a user

Open Lonami opened this issue 4 years ago • 2 comments

Something like:

client.delete_messages(chat, from_user='foo')

This would use channels.deleteUserHistory (after verifying that's actually the right request to use…). Parameter name may vary, and it should be documented that bots cannot use it, and will only work in megagroups.

Lonami avatar Nov 02 '19 14:11 Lonami

python pip install telethon

sanatmorgh avatar Mar 18 '20 07:03 sanatmorgh

What?

Lonami avatar Mar 18 '20 08:03 Lonami

This is unlikely to happen in the near future so I will be closing the issue. We can reopen it if there's still interest once the time is right.

Lonami avatar Apr 06 '23 12:04 Lonami