mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-27 20:33:44 +03:00
Update docstring for send_read_acknowledge
This commit is contained in:
parent
969a36c2a8
commit
48a70308b5
|
@ -1096,11 +1096,12 @@ class MessageMethods:
|
||||||
Example
|
Example
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
client.send_read_acknowledge(last_message)
|
# using a Message object
|
||||||
# or
|
client.send_read_acknowledge(chat, message)
|
||||||
client.send_read_acknowledge(last_message_id)
|
# ...or using the int ID of a Message
|
||||||
# or
|
client.send_read_acknowledge(chat, message_id)
|
||||||
client.send_read_acknowledge(messages)
|
# ...or passing a list of messages to mark as read
|
||||||
|
client.send_read_acknowledge(chat, messages)
|
||||||
"""
|
"""
|
||||||
if max_id is None:
|
if max_id is None:
|
||||||
if not message:
|
if not message:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user