Telethon
Telethon copied to clipboard
Support easily deleting all messages from a user
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.
python pip install telethon
What?
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.