diff --git a/docs/source/conf.py b/docs/source/conf.py index 52e0f649..4dbc4c85 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -36,7 +36,8 @@ sys.path.insert(0, os.path.abspath('../..')) # ones. extensions = [ 'sphinx.ext.autodoc', - 'sphinx.ext.napoleon' + 'sphinx.ext.napoleon', + 'sphinx.ext.autosummary' ] # Don't show source files on docs diff --git a/docs/source/pyrogram/Client.rst b/docs/source/pyrogram/Client.rst index c0c4e667..dfb5fa27 100644 --- a/docs/source/pyrogram/Client.rst +++ b/docs/source/pyrogram/Client.rst @@ -1,5 +1,41 @@ Client ====== +.. currentmodule:::: pyrogram.Client + .. autoclass:: pyrogram.Client :members: + + **Available methods** + + .. autosummary:: + :nosignatures: + + start + stop + idle + set_update_handler + send + get_me + send_message + forward_messages + send_photo + send_audio + send_document + send_video + send_voice + send_video_note + send_location + send_venue + send_contact + send_chat_action + get_user_profile_photos + edit_message_text + edit_message_caption + delete_messages + join_chat + leave_chat + export_chat_invite_link + enable_cloud_password + change_cloud_password + remove_cloud_password \ No newline at end of file