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:
@@ -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
|
||||
|
5
docs/source/pyrogram/types/Audio.rst
Normal file
5
docs/source/pyrogram/types/Audio.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Audio
|
||||
=====
|
||||
|
||||
.. autoclass:: pyrogram.Audio
|
||||
:members:
|
5
docs/source/pyrogram/types/Chat.rst
Normal file
5
docs/source/pyrogram/types/Chat.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Chat
|
||||
====
|
||||
|
||||
.. autoclass:: pyrogram.Chat
|
||||
:members:
|
5
docs/source/pyrogram/types/ChatMember.rst
Normal file
5
docs/source/pyrogram/types/ChatMember.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
ChatMember
|
||||
==========
|
||||
|
||||
.. autoclass:: pyrogram.ChatMember
|
||||
:members:
|
5
docs/source/pyrogram/types/ChatPhoto.rst
Normal file
5
docs/source/pyrogram/types/ChatPhoto.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
ChatPhoto
|
||||
=========
|
||||
|
||||
.. autoclass:: pyrogram.ChatPhoto
|
||||
:members:
|
5
docs/source/pyrogram/types/Contact.rst
Normal file
5
docs/source/pyrogram/types/Contact.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Contact
|
||||
=======
|
||||
|
||||
.. autoclass:: pyrogram.Contact
|
||||
:members:
|
5
docs/source/pyrogram/types/Document.rst
Normal file
5
docs/source/pyrogram/types/Document.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Document
|
||||
========
|
||||
|
||||
.. autoclass:: pyrogram.Document
|
||||
:members:
|
@@ -3,4 +3,3 @@ InputMediaPhoto
|
||||
|
||||
.. autoclass:: pyrogram.InputMediaPhoto
|
||||
:members:
|
||||
:undoc-members:
|
@@ -3,4 +3,3 @@ InputMediaVideo
|
||||
|
||||
.. autoclass:: pyrogram.InputMediaVideo
|
||||
:members:
|
||||
:undoc-members:
|
@@ -3,4 +3,3 @@ InputPhoneContact
|
||||
|
||||
.. autoclass:: pyrogram.InputPhoneContact
|
||||
:members:
|
||||
:undoc-members:
|
5
docs/source/pyrogram/types/Location.rst
Normal file
5
docs/source/pyrogram/types/Location.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Location
|
||||
========
|
||||
|
||||
.. autoclass:: pyrogram.Location
|
||||
:members:
|
5
docs/source/pyrogram/types/Message.rst
Normal file
5
docs/source/pyrogram/types/Message.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Message
|
||||
=======
|
||||
|
||||
.. autoclass:: pyrogram.Message
|
||||
:members:
|
5
docs/source/pyrogram/types/MessageEntity.rst
Normal file
5
docs/source/pyrogram/types/MessageEntity.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
MessageEntity
|
||||
=============
|
||||
|
||||
.. autoclass:: pyrogram.MessageEntity
|
||||
:members:
|
5
docs/source/pyrogram/types/PhotoSize.rst
Normal file
5
docs/source/pyrogram/types/PhotoSize.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
PhotoSize
|
||||
=========
|
||||
|
||||
.. autoclass:: pyrogram.PhotoSize
|
||||
:members:
|
5
docs/source/pyrogram/types/Sticker.rst
Normal file
5
docs/source/pyrogram/types/Sticker.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Sticker
|
||||
=======
|
||||
|
||||
.. autoclass:: pyrogram.Sticker
|
||||
:members:
|
5
docs/source/pyrogram/types/Update.rst
Normal file
5
docs/source/pyrogram/types/Update.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Update
|
||||
======
|
||||
|
||||
.. autoclass:: pyrogram.Update
|
||||
:members:
|
5
docs/source/pyrogram/types/User.rst
Normal file
5
docs/source/pyrogram/types/User.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
User
|
||||
====
|
||||
|
||||
.. autoclass:: pyrogram.User
|
||||
:members:
|
5
docs/source/pyrogram/types/UserProfilePhotos.rst
Normal file
5
docs/source/pyrogram/types/UserProfilePhotos.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
UserProfilePhotos
|
||||
=================
|
||||
|
||||
.. autoclass:: pyrogram.UserProfilePhotos
|
||||
:members:
|
5
docs/source/pyrogram/types/Venue.rst
Normal file
5
docs/source/pyrogram/types/Venue.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Venue
|
||||
=====
|
||||
|
||||
.. autoclass:: pyrogram.Venue
|
||||
:members:
|
5
docs/source/pyrogram/types/Video.rst
Normal file
5
docs/source/pyrogram/types/Video.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Video
|
||||
=====
|
||||
|
||||
.. autoclass:: pyrogram.Video
|
||||
:members:
|
5
docs/source/pyrogram/types/VideoNote.rst
Normal file
5
docs/source/pyrogram/types/VideoNote.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
VideoNote
|
||||
=========
|
||||
|
||||
.. autoclass:: pyrogram.VideoNote
|
||||
:members:
|
5
docs/source/pyrogram/types/Voice.rst
Normal file
5
docs/source/pyrogram/types/Voice.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
Voice
|
||||
=====
|
||||
|
||||
.. autoclass:: pyrogram.Voice
|
||||
:members:
|
27
docs/source/pyrogram/types/index.rst
Normal file
27
docs/source/pyrogram/types/index.rst
Normal 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
|
Reference in New Issue
Block a user