diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index 9b6d1763..6fcd4b36 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -492,3 +492,13 @@ class Client: **Markdown.parse(text) ) ) + + def delete_messages(self, + message_ids: list, + revoke: bool = None): + return self.send( + functions.messages.DeleteMessages( + id=message_ids, + revoke=revoke or None + ) + )