mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: Fix some missing docs
Signed-off-by: Yasir <git@yasir.id>
This commit is contained in:
parent
14fb99cf77
commit
7404c46d7d
11 changed files with 168 additions and 20 deletions
|
|
@ -350,24 +350,24 @@ def pyrogram_api():
|
||||||
Payments
|
Payments
|
||||||
apply_gift_code
|
apply_gift_code
|
||||||
check_gift_code
|
check_gift_code
|
||||||
convert_star_gift
|
convert_gift
|
||||||
create_invoice_link
|
create_invoice_link
|
||||||
get_payment_form
|
get_payment_form
|
||||||
get_star_gifts
|
|
||||||
get_stars_transactions
|
get_stars_transactions
|
||||||
get_stars_transactions_by_id
|
get_stars_transactions_by_id
|
||||||
get_user_star_gifts_count
|
get_available_gifts
|
||||||
get_user_star_gifts
|
get_user_gifts_count
|
||||||
hide_star_gift
|
get_user_gifts
|
||||||
|
hide_gift
|
||||||
refund_star_payment
|
refund_star_payment
|
||||||
send_invoice
|
send_invoice
|
||||||
send_paid_media
|
send_paid_media
|
||||||
send_paid_reaction
|
send_paid_reaction
|
||||||
send_payment_form
|
send_payment_form
|
||||||
send_star_gift
|
send_gift
|
||||||
show_star_gift
|
show_gift
|
||||||
transfer_star_gift
|
transfer_gift
|
||||||
upgrade_star_gift
|
upgrade_gift
|
||||||
""",
|
""",
|
||||||
password="""
|
password="""
|
||||||
Password
|
Password
|
||||||
|
|
@ -396,11 +396,6 @@ def pyrogram_api():
|
||||||
get_bot_info
|
get_bot_info
|
||||||
set_bot_info
|
set_bot_info
|
||||||
get_collectible_item_info
|
get_collectible_item_info
|
||||||
get_available_gifts
|
|
||||||
get_user_gifts
|
|
||||||
sell_gift
|
|
||||||
send_gift
|
|
||||||
toggle_gift_is_saved
|
|
||||||
get_owned_bots
|
get_owned_bots
|
||||||
""",
|
""",
|
||||||
business="""
|
business="""
|
||||||
|
|
@ -527,6 +522,8 @@ def pyrogram_api():
|
||||||
Sticker
|
Sticker
|
||||||
StickerSet
|
StickerSet
|
||||||
Game
|
Game
|
||||||
|
Gift
|
||||||
|
GiftAttribute
|
||||||
Giveaway
|
Giveaway
|
||||||
GiveawayLaunched
|
GiveawayLaunched
|
||||||
GiveawayResult
|
GiveawayResult
|
||||||
|
|
@ -539,7 +536,6 @@ def pyrogram_api():
|
||||||
PollOption
|
PollOption
|
||||||
Dice
|
Dice
|
||||||
Reaction
|
Reaction
|
||||||
StarGift
|
|
||||||
VideoChatScheduled
|
VideoChatScheduled
|
||||||
VideoChatStarted
|
VideoChatStarted
|
||||||
VideoChatEnded
|
VideoChatEnded
|
||||||
|
|
@ -565,7 +561,6 @@ def pyrogram_api():
|
||||||
ScreenshotTaken
|
ScreenshotTaken
|
||||||
Wallpaper
|
Wallpaper
|
||||||
WallpaperSettings
|
WallpaperSettings
|
||||||
StarGiftAttribute
|
|
||||||
""",
|
""",
|
||||||
stories="""
|
stories="""
|
||||||
Stories
|
Stories
|
||||||
|
|
@ -587,8 +582,6 @@ def pyrogram_api():
|
||||||
ExtendedMediaPreview
|
ExtendedMediaPreview
|
||||||
GiftCode
|
GiftCode
|
||||||
GiftedPremium
|
GiftedPremium
|
||||||
Gift
|
|
||||||
StarGift
|
|
||||||
InputStarsTransaction
|
InputStarsTransaction
|
||||||
Invoice
|
Invoice
|
||||||
LabeledPrice
|
LabeledPrice
|
||||||
|
|
@ -844,6 +837,25 @@ def pyrogram_api():
|
||||||
Story.reply_video_note
|
Story.reply_video_note
|
||||||
Story.reply_voice
|
Story.reply_voice
|
||||||
""",
|
""",
|
||||||
|
folder="""
|
||||||
|
Folder
|
||||||
|
Folder.delete
|
||||||
|
Folder.update
|
||||||
|
Folder.include_chat
|
||||||
|
Folder.exclude_chat
|
||||||
|
Folder.update_color
|
||||||
|
Folder.pin_chat
|
||||||
|
Folder.remove_chat
|
||||||
|
Folder.export_link
|
||||||
|
""",
|
||||||
|
gift="""
|
||||||
|
Gift
|
||||||
|
Gift.show
|
||||||
|
Gift.hide
|
||||||
|
Gift.convert
|
||||||
|
Gift.upgrade
|
||||||
|
Gift.transfer
|
||||||
|
""",
|
||||||
callback_query="""
|
callback_query="""
|
||||||
Callback Query
|
Callback Query
|
||||||
CallbackQuery.answer
|
CallbackQuery.answer
|
||||||
|
|
|
||||||
25
compiler/docs/template/bound-methods.rst
vendored
25
compiler/docs/template/bound-methods.rst
vendored
|
|
@ -140,3 +140,28 @@ ChatJoinRequest
|
||||||
|
|
||||||
{chat_join_request_toctree}
|
{chat_join_request_toctree}
|
||||||
|
|
||||||
|
Folder
|
||||||
|
---------------
|
||||||
|
|
||||||
|
.. hlist::
|
||||||
|
:columns: 2
|
||||||
|
|
||||||
|
{folder_hlist}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{folder_toctree}
|
||||||
|
|
||||||
|
Gift
|
||||||
|
---------------
|
||||||
|
|
||||||
|
.. hlist::
|
||||||
|
:columns: 2
|
||||||
|
|
||||||
|
{gift_hlist}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{gift_toctree}
|
||||||
|
|
|
||||||
15
compiler/docs/template/methods.rst
vendored
15
compiler/docs/template/methods.rst
vendored
|
|
@ -190,6 +190,19 @@ Bots
|
||||||
|
|
||||||
{bots}
|
{bots}
|
||||||
|
|
||||||
|
Payments
|
||||||
|
----
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{payments}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{payments}
|
||||||
|
|
||||||
Authorization
|
Authorization
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
@ -217,4 +230,4 @@ Learn more about how to use the raw API at :doc:`Advanced Usage <../../topics/ad
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
{advanced}
|
{advanced}
|
||||||
|
|
|
||||||
41
compiler/docs/template/types.rst
vendored
41
compiler/docs/template/types.rst
vendored
|
|
@ -164,6 +164,45 @@ InputMessageContent
|
||||||
|
|
||||||
{input_message_content}
|
{input_message_content}
|
||||||
|
|
||||||
|
ShippingQuery
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{shipping_query}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{shipping_query}
|
||||||
|
|
||||||
|
PreCheckoutQuery
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{pre_checkout_query}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{pre_checkout_query}
|
||||||
|
|
||||||
|
Payment
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
.. autosummary::
|
||||||
|
:nosignatures:
|
||||||
|
|
||||||
|
{payment}
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:hidden:
|
||||||
|
|
||||||
|
{payment}
|
||||||
|
|
||||||
Authorization
|
Authorization
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
@ -175,4 +214,4 @@ Authorization
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
{authorization}
|
{authorization}
|
||||||
|
|
|
||||||
8
docs/source/api/enums/BusinessSchedule.rst
Normal file
8
docs/source/api/enums/BusinessSchedule.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
BusinessSchedule
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.BusinessSchedule()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
8
docs/source/api/enums/ChatJoinType.rst
Normal file
8
docs/source/api/enums/ChatJoinType.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
ChatJoinType
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.ChatJoinType()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
8
docs/source/api/enums/ClientPlatform.rst
Normal file
8
docs/source/api/enums/ClientPlatform.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
ClientPlatform
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.ClientPlatform()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
8
docs/source/api/enums/GiftAttributeType.rst
Normal file
8
docs/source/api/enums/GiftAttributeType.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
GiftAttributeType
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.GiftAttributeType()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
8
docs/source/api/enums/ProfileColor.rst
Normal file
8
docs/source/api/enums/ProfileColor.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
ProfileColor
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.ProfileColor()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
8
docs/source/api/enums/ReplyColor.rst
Normal file
8
docs/source/api/enums/ReplyColor.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
ReplyColor
|
||||||
|
==========
|
||||||
|
|
||||||
|
.. autoclass:: pyrogram.enums.ReplyColor()
|
||||||
|
:members:
|
||||||
|
|
||||||
|
.. raw:: html
|
||||||
|
:file: ./cleanup.html
|
||||||
|
|
@ -16,10 +16,13 @@ to apply only a valid value among the expected ones.
|
||||||
BusinessSchedule
|
BusinessSchedule
|
||||||
ChatAction
|
ChatAction
|
||||||
ChatEventAction
|
ChatEventAction
|
||||||
|
ChatJoinType
|
||||||
ChatMemberStatus
|
ChatMemberStatus
|
||||||
ChatMembersFilter
|
ChatMembersFilter
|
||||||
ChatType
|
ChatType
|
||||||
|
ClientPlatform
|
||||||
FolderColor
|
FolderColor
|
||||||
|
GiftAttributeType
|
||||||
ListenerTypes
|
ListenerTypes
|
||||||
MessageEntityType
|
MessageEntityType
|
||||||
MessageMediaType
|
MessageMediaType
|
||||||
|
|
@ -27,22 +30,28 @@ to apply only a valid value among the expected ones.
|
||||||
MessagesFilter
|
MessagesFilter
|
||||||
ParseMode
|
ParseMode
|
||||||
PollType
|
PollType
|
||||||
|
ProfileColor
|
||||||
SentCodeType
|
SentCodeType
|
||||||
NextCodeType
|
NextCodeType
|
||||||
UserStatus
|
UserStatus
|
||||||
ReactionType
|
ReactionType
|
||||||
|
ReplyColor
|
||||||
StoriesPrivacyRules
|
StoriesPrivacyRules
|
||||||
StoryPrivacy
|
StoryPrivacy
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:hidden:
|
:hidden:
|
||||||
|
|
||||||
|
BusinessSchedule
|
||||||
ChatAction
|
ChatAction
|
||||||
ChatEventAction
|
ChatEventAction
|
||||||
|
ChatJoinType
|
||||||
ChatMemberStatus
|
ChatMemberStatus
|
||||||
ChatMembersFilter
|
ChatMembersFilter
|
||||||
ChatType
|
ChatType
|
||||||
|
ClientPlatform
|
||||||
FolderColor
|
FolderColor
|
||||||
|
GiftAttributeType
|
||||||
ListenerTypes
|
ListenerTypes
|
||||||
MessageEntityType
|
MessageEntityType
|
||||||
MessageMediaType
|
MessageMediaType
|
||||||
|
|
@ -50,9 +59,11 @@ to apply only a valid value among the expected ones.
|
||||||
MessagesFilter
|
MessagesFilter
|
||||||
ParseMode
|
ParseMode
|
||||||
PollType
|
PollType
|
||||||
|
ProfileColor
|
||||||
SentCodeType
|
SentCodeType
|
||||||
NextCodeType
|
NextCodeType
|
||||||
UserStatus
|
UserStatus
|
||||||
ReactionType
|
ReactionType
|
||||||
|
ReplyColor
|
||||||
StoriesPrivacyRules
|
StoriesPrivacyRules
|
||||||
StoryPrivacy
|
StoryPrivacy
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue