diff --git a/docs/source/pyrogram/Client.rst b/docs/source/pyrogram/Client.rst index 806950a8..061ef55f 100644 --- a/docs/source/pyrogram/Client.rst +++ b/docs/source/pyrogram/Client.rst @@ -15,6 +15,7 @@ Client stop idle on_message + on_callback_query on_raw_update add_handler send @@ -25,6 +26,7 @@ Client send_photo send_audio send_document + send_sticker send_video send_voice send_video_note @@ -33,11 +35,11 @@ Client send_venue send_contact send_chat_action - send_sticker download_media get_user_profile_photos edit_message_text edit_message_caption + edit_message_reply_markup delete_messages join_chat leave_chat @@ -49,4 +51,6 @@ Client delete_contacts get_inline_bot_results send_inline_bot_result - get_messages \ No newline at end of file + get_users + get_messages + answer_callback_query \ No newline at end of file diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index af776471..b52d0d25 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -1174,8 +1174,8 @@ class Client: Returns: On success and in case *message_ids* was a list, the returned value will be a list of the forwarded - :obj:`Messages ` even if a list contains just one element, otherwise if - *message_ids* was an integer, the single forwarded :obj:`Message ` + :obj:`Messages ` even if a list contains just one element, otherwise if + *message_ids* was an integer, the single forwarded :obj:`Message ` is returned. Raises: @@ -1268,7 +1268,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -1403,7 +1403,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -1530,7 +1530,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -1642,7 +1642,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -1785,7 +1785,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -1919,7 +1919,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2042,7 +2042,7 @@ class Client: The size of the file. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2284,7 +2284,7 @@ class Client: instructions to remove reply keyboard or to force a reply from the user. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2359,7 +2359,7 @@ class Client: instructions to remove reply keyboard or to force a reply from the user. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2431,7 +2431,7 @@ class Client: instructions to remove reply keyboard or to force a reply from the user. Returns: - On success, the sent :obj:`Message ` is returned. + On success, the sent :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2567,7 +2567,7 @@ class Client: An InlineKeyboardMarkup object. Returns: - On success, the edited :obj:`Message ` is returned. + On success, the edited :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2621,7 +2621,7 @@ class Client: An InlineKeyboardMarkup object. Returns: - On success, the edited :obj:`Message ` is returned. + On success, the edited :obj:`Message ` is returned. Raises: :class:`Error ` @@ -2665,7 +2665,7 @@ class Client: Returns: On success, if edited message is sent by the bot, the edited - :obj:`Message ` is returned, otherwise True is returned. + :obj:`Message ` is returned, otherwise True is returned. Raises: :class:`Error ` @@ -3261,7 +3261,7 @@ class Client: """Use this method to download the media from a Message. Args: - message (:obj:`Message ` | ``str``): + message (:obj:`Message ` | ``str``): Pass a Message containing the media, the media itself (message.audio, message.video, ...) or the file id as string. @@ -3549,8 +3549,8 @@ class Client: Returns: On success and in case *message_ids* was a list, the returned value will be a list of the requested - :obj:`Messages ` even if a list contains just one element, otherwise if - *message_ids* was an integer, the single requested :obj:`Message ` + :obj:`Messages ` even if a list contains just one element, otherwise if + *message_ids* was an integer, the single requested :obj:`Message ` is returned. Raises: