Add edit_message_caption method

This commit is contained in:
Dan 2017-12-26 18:50:57 +01:00
parent f62ce30dbf
commit 8a8e863598

View File

@ -528,6 +528,18 @@ class Client:
)
)
def edit_message_caption(self,
chat_id: int or str,
message_id: int,
caption: str):
return self.send(
functions.messages.EditMessage(
peer=self.resolve_peer(chat_id),
id=message_id,
message=caption
)
)
def delete_messages(self,
message_ids: list,
revoke: bool = None):