mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Rename send_read_acknowledge
This commit is contained in:
@@ -1237,12 +1237,12 @@ class Message(ChatGetter, SenderGetter):
|
||||
async def mark_read(self):
|
||||
"""
|
||||
Marks the message as read. Shorthand for
|
||||
`client.send_read_acknowledge()
|
||||
<telethon.client.messages.MessageMethods.send_read_acknowledge>`
|
||||
`client.mark_read()
|
||||
<telethon.client.messages.MessageMethods.mark_read>`
|
||||
with both ``entity`` and ``message`` already set.
|
||||
"""
|
||||
if self._client:
|
||||
await self._client.send_read_acknowledge(
|
||||
await self._client.mark_read(
|
||||
await self.get_input_chat(), max_id=self.id)
|
||||
|
||||
async def pin(self, *, notify=False, pm_oneside=False):
|
||||
|
Reference in New Issue
Block a user