Add new Types index page

This commit is contained in:
Dan 2018-07-25 22:23:17 +02:00
parent 5546765c4f
commit fb9fa41c37

View File

@ -1,16 +1,34 @@
:tocdepth: 1
Types Types
===== =====
.. toctree:: .. currentmodule:: pyrogram
Users & Chats
-------------
.. autosummary::
:nosignatures:
User User
Chat Chat
ChatPhoto
ChatMember
ChatMembers
Dialog
Dialogs
Messages & Media
----------------
.. autosummary::
:nosignatures:
Message Message
MessageEntity
Messages Messages
MessageEntity
Photo Photo
PhotoSize PhotoSize
UserProfilePhotos
Audio Audio
Document Document
GIF GIF
@ -20,17 +38,139 @@ Types
Contact Contact
Location Location
Venue Venue
UserProfilePhotos Sticker
ChatPhoto
ChatMember Bots
----
.. autosummary::
:nosignatures:
ReplyKeyboardMarkup
KeyboardButton
ReplyKeyboardRemove
InlineKeyboardMarkup
InlineKeyboardButton
ForceReply
CallbackQuery
Input Media
-----------
.. autosummary::
:nosignatures:
InputMediaPhoto InputMediaPhoto
InputMediaVideo InputMediaVideo
InputPhoneContact InputPhoneContact
Sticker
reply_markup/ForceReply .. User & Chats
reply_markup/InlineKeyboardButton ------------
reply_markup/InlineKeyboardMarkup
reply_markup/KeyboardButton .. autoclass:: User
reply_markup/ReplyKeyboardMarkup :members:
reply_markup/ReplyKeyboardRemove
CallbackQuery .. autoclass:: Chat
:members:
.. autoclass:: ChatPhoto
:members:
.. autoclass:: ChatMember
:members:
.. autoclass:: ChatMembers
:members:
.. autoclass:: Dialog
:members:
.. autoclass:: Dialogs
:members:
.. Messages & Media
----------------
.. autoclass:: Message
:members:
.. autoclass:: Messages
:members:
.. autoclass:: MessageEntity
:members:
.. autoclass:: Photo
:members:
.. autoclass:: PhotoSize
:members:
.. autoclass:: UserProfilePhotos
:members:
.. autoclass:: Audio
:members:
.. autoclass:: Document
:members:
.. autoclass:: GIF
:members:
.. autoclass:: Video
:members:
.. autoclass:: Voice
:members:
.. autoclass:: VideoNote
:members:
.. autoclass:: Contact
:members:
.. autoclass:: Location
:members:
.. autoclass:: Venue
:members:
.. autoclass:: Sticker
:members:
.. Bots
----
.. autoclass:: ReplyKeyboardMarkup
:members:
.. autoclass:: KeyboardButton
:members:
.. autoclass:: ReplyKeyboardRemove
:members:
.. autoclass:: InlineKeyboardMarkup
:members:
.. autoclass:: InlineKeyboardButton
:members:
.. autoclass:: ForceReply
:members:
.. autoclass:: CallbackQuery
:members:
.. Input Media
-----------
.. autoclass:: InputMediaPhoto
:members:
.. autoclass:: InputMediaVideo
:members:
.. autoclass:: InputPhoneContact
:members: