mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-28 12:57:52 +00:00
Fix send_chat_action docstrings
This commit is contained in:
parent
63b4f909df
commit
f92b74328f
@ -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 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.
|
For a private channel/supergroup you can use its *t.me/joinchat/* link.
|
||||||
|
|
||||||
action (``ChatAction`` | ``str``):
|
action (:obj:`ChatAction <pyrogram.ChatAction>` | ``str``):
|
||||||
Type of action to broadcast.
|
Type of action to broadcast.
|
||||||
Choose one from the :class:`ChatAction <pyrogram.ChatAction>` enumeration,
|
Choose one from the :class:`ChatAction <pyrogram.ChatAction>` enumeration,
|
||||||
depending on what the user is about to receive.
|
depending on what the user is about to receive.
|
||||||
@ -42,6 +42,7 @@ class SendChatAction(BaseClient):
|
|||||||
|
|
||||||
progress (``int``, *optional*):
|
progress (``int``, *optional*):
|
||||||
Progress of the upload process.
|
Progress of the upload process.
|
||||||
|
Currently useless because official clients don't seem to be handling this.
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
On success, True is returned.
|
On success, True is returned.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user