Update docstring for send_read_acknowledge

This commit is contained in:
Lonami 2019-08-11 10:23:45 +02:00 committed by GitHub
parent 969a36c2a8
commit 48a70308b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: