2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-09-01 06:45:39 +00:00

Reword some method return type docstrings

This commit is contained in:
Dan
2019-05-17 13:44:44 +02:00
parent 23d0ef3cf9
commit b6ea451ee5
29 changed files with 48 additions and 78 deletions

View File

@@ -38,26 +38,10 @@ it.
RawUpdateHandler
.. autoclass:: MessageHandler()
:members:
.. autoclass:: DeletedMessagesHandler()
:members:
.. autoclass:: CallbackQueryHandler()
:members:
.. autoclass:: InlineQueryHandler()
:members:
.. autoclass:: UserStatusHandler()
:members:
.. autoclass:: PollHandler()
:members:
.. autoclass:: DisconnectHandler()
:members:
.. autoclass:: RawUpdateHandler()
:members:

View File

@@ -90,7 +90,6 @@ Chats
pin_chat_message
unpin_chat_message
get_chat
get_chat_preview
get_chat_member
get_chat_members
get_chat_members_count
@@ -217,7 +216,6 @@ Bots
.. automethod:: pyrogram.Client.pin_chat_message()
.. automethod:: pyrogram.Client.unpin_chat_message()
.. automethod:: pyrogram.Client.get_chat()
.. automethod:: pyrogram.Client.get_chat_preview()
.. automethod:: pyrogram.Client.get_chat_member()
.. automethod:: pyrogram.Client.get_chat_members()
.. automethod:: pyrogram.Client.get_chat_members_count()

View File

@@ -72,6 +72,7 @@ Keyboards
ForceReply
CallbackQuery
GameHighScore
GameHighScores
CallbackGame
Input Media
@@ -155,6 +156,7 @@ InputMessageContent
.. autoclass:: ForceReply()
.. autoclass:: CallbackQuery()
.. autoclass:: GameHighScore()
.. autoclass:: GameHighScores()
.. autoclass:: CallbackGame()
.. Input Media

View File

@@ -17,7 +17,7 @@ Welcome to Pyrogram
GitHub
</a>
<a href="https://t.me/PyrogramChat">
<a href="https://t.me/Pyrogram">
Community
</a>

View File

@@ -44,5 +44,5 @@ In the next few pages of the introduction, we'll take a much more in-depth look
Feeling eager to continue? You can take a shortcut to `Calling Methods`_ and come back later to learn some more details.
.. _community: //t.me/pyrogramchat
.. _community: //t.me/Pyrogram
.. _Calling Methods: ../start/invoking

View File

@@ -130,4 +130,4 @@ high-level method.
.. _plenty of them: ../api/methods
.. _raw functions: ../telegram/functions
.. _raw types: ../telegram/types
.. _Community: https://t.me/PyrogramChat
.. _Community: https://t.me/Pyrogram