2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 22:35:36 +00:00

Clean all types and add docs

This commit is contained in:
Dan
2018-04-24 16:41:52 +02:00
parent 6e78935857
commit 7a20c8bca8
45 changed files with 281 additions and 287 deletions

View File

@@ -8,6 +8,7 @@ after the well established `Telegram Bot API`_ methods, thus offering a familiar
.. toctree::
Client
types/index
MessageHandler
RawUpdateHandler
Filters
@@ -16,30 +17,4 @@ after the well established `Telegram Bot API`_ methods, thus offering a familiar
Emoji
Error
Types
-----
.. toctree::
../types/pyrogram/User
../types/pyrogram/Chat
../types/pyrogram/Message
../types/pyrogram/MessageEntity
../types/pyrogram/PhotoSize
../types/pyrogram/Audio
../types/pyrogram/Document
../types/pyrogram/Video
../types/pyrogram/Voice
../types/pyrogram/VideoNote
../types/pyrogram/Contact
../types/pyrogram/Location
../types/pyrogram/Venue
../types/pyrogram/UserProfilePhotos
../types/pyrogram/ChatPhoto
../types/pyrogram/ChatMember
InputMediaPhoto
InputMediaVideo
InputPhoneContact
../types/pyrogram/Sticker
.. _Telegram Bot API: https://core.telegram.org/bots/api#available-methods

View File

@@ -0,0 +1,5 @@
Audio
=====
.. autoclass:: pyrogram.Audio
:members:

View File

@@ -0,0 +1,5 @@
Chat
====
.. autoclass:: pyrogram.Chat
:members:

View File

@@ -0,0 +1,5 @@
ChatMember
==========
.. autoclass:: pyrogram.ChatMember
:members:

View File

@@ -0,0 +1,5 @@
ChatPhoto
=========
.. autoclass:: pyrogram.ChatPhoto
:members:

View File

@@ -0,0 +1,5 @@
Contact
=======
.. autoclass:: pyrogram.Contact
:members:

View File

@@ -0,0 +1,5 @@
Document
========
.. autoclass:: pyrogram.Document
:members:

View File

@@ -3,4 +3,3 @@ InputMediaPhoto
.. autoclass:: pyrogram.InputMediaPhoto
:members:
:undoc-members:

View File

@@ -3,4 +3,3 @@ InputMediaVideo
.. autoclass:: pyrogram.InputMediaVideo
:members:
:undoc-members:

View File

@@ -3,4 +3,3 @@ InputPhoneContact
.. autoclass:: pyrogram.InputPhoneContact
:members:
:undoc-members:

View File

@@ -0,0 +1,5 @@
Location
========
.. autoclass:: pyrogram.Location
:members:

View File

@@ -0,0 +1,5 @@
Message
=======
.. autoclass:: pyrogram.Message
:members:

View File

@@ -0,0 +1,5 @@
MessageEntity
=============
.. autoclass:: pyrogram.MessageEntity
:members:

View File

@@ -0,0 +1,5 @@
PhotoSize
=========
.. autoclass:: pyrogram.PhotoSize
:members:

View File

@@ -0,0 +1,5 @@
Sticker
=======
.. autoclass:: pyrogram.Sticker
:members:

View File

@@ -0,0 +1,5 @@
Update
======
.. autoclass:: pyrogram.Update
:members:

View File

@@ -0,0 +1,5 @@
User
====
.. autoclass:: pyrogram.User
:members:

View File

@@ -0,0 +1,5 @@
UserProfilePhotos
=================
.. autoclass:: pyrogram.UserProfilePhotos
:members:

View File

@@ -0,0 +1,5 @@
Venue
=====
.. autoclass:: pyrogram.Venue
:members:

View File

@@ -0,0 +1,5 @@
Video
=====
.. autoclass:: pyrogram.Video
:members:

View File

@@ -0,0 +1,5 @@
VideoNote
=========
.. autoclass:: pyrogram.VideoNote
:members:

View File

@@ -0,0 +1,5 @@
Voice
=====
.. autoclass:: pyrogram.Voice
:members:

View File

@@ -0,0 +1,27 @@
:tocdepth: 1
Types
=====
.. toctree::
Update
User
Chat
Message
MessageEntity
PhotoSize
Audio
Document
Video
Voice
VideoNote
Contact
Location
Venue
UserProfilePhotos
ChatPhoto
ChatMember
InputMediaPhoto
InputMediaVideo
InputPhoneContact
Sticker