mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Add TODO for delete_messages
This commit is contained in:
parent
d0feb8fb15
commit
315563ede0
@ -496,6 +496,9 @@ class Client:
|
|||||||
def delete_messages(self,
|
def delete_messages(self,
|
||||||
message_ids: list,
|
message_ids: list,
|
||||||
revoke: bool = None):
|
revoke: bool = None):
|
||||||
|
# TODO: Maybe "revoke" is superfluous.
|
||||||
|
# If I want to delete a message, chances are I want it to
|
||||||
|
# be deleted even from the other side
|
||||||
return self.send(
|
return self.send(
|
||||||
functions.messages.DeleteMessages(
|
functions.messages.DeleteMessages(
|
||||||
id=message_ids,
|
id=message_ids,
|
||||||
|
Loading…
Reference in New Issue
Block a user