From f92b74328f7cee8f2b4b2fba79ccd21ebc57c780 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 9 May 2018 12:38:09 +0200 Subject: [PATCH] Fix send_chat_action docstrings --- pyrogram/client/methods/messages/action/send_chat_action.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyrogram/client/methods/messages/action/send_chat_action.py b/pyrogram/client/methods/messages/action/send_chat_action.py index 24a946c1..4b34dd40 100644 --- a/pyrogram/client/methods/messages/action/send_chat_action.py +++ b/pyrogram/client/methods/messages/action/send_chat_action.py @@ -34,7 +34,7 @@ class SendChatAction(BaseClient): For a contact that exists in your Telegram address book you can use his phone number (str). For a private channel/supergroup you can use its *t.me/joinchat/* link. - action (``ChatAction`` | ``str``): + action (:obj:`ChatAction ` | ``str``): Type of action to broadcast. Choose one from the :class:`ChatAction ` enumeration, depending on what the user is about to receive. @@ -42,6 +42,7 @@ class SendChatAction(BaseClient): progress (``int``, *optional*): Progress of the upload process. + Currently useless because official clients don't seem to be handling this. Returns: On success, True is returned.