mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 20:14:51 +00:00
Pyrofork: fix docs
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
e05643e016
commit
a42474e811
5 changed files with 11 additions and 11 deletions
|
|
@ -470,7 +470,7 @@ def pyrogram_api():
|
|||
Story
|
||||
StoryDeleted
|
||||
StorySkipped
|
||||
StoriesPrivacy
|
||||
StoriesPrivacyRules
|
||||
StoryViews
|
||||
""",
|
||||
bot_keyboards="""
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
StoriesPrivacy
|
||||
==============
|
||||
|
||||
.. autoclass:: pyrogram.enums.StoriesPrivacy()
|
||||
:members:
|
||||
|
||||
.. raw:: html
|
||||
:file: ./cleanup.html
|
||||
8
docs/source/api/enums/StoryPrivacy.rst
Normal file
8
docs/source/api/enums/StoryPrivacy.rst
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
StoryPrivacy
|
||||
============
|
||||
|
||||
.. autoclass:: pyrogram.enums.StoryPrivacy()
|
||||
:members:
|
||||
|
||||
.. raw:: html
|
||||
:file: ./cleanup.html
|
||||
|
|
@ -22,7 +22,7 @@ from .auto_name import AutoName
|
|||
|
||||
|
||||
class StoriesPrivacyRules(AutoName):
|
||||
"""Stories privacy rules type enumeration used in :obj:`~pyrogram.method.SendStory`."""
|
||||
"""Stories privacy rules type enumeration used in :meth:`~pyrogram.Client.send_story` and :meth:`~pyrogram.Client.edit_story`."""
|
||||
|
||||
PUBLIC = auto()
|
||||
"Public stories"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ from .auto_name import AutoName
|
|||
|
||||
|
||||
class StoryPrivacy(AutoName):
|
||||
"""Story peivacy type enumeration used in :obj:`~pyrogram.types.Story`."""
|
||||
"""Story privacy type enumeration used in :obj:`~pyrogram.types.Story`."""
|
||||
|
||||
PUBLIC = auto()
|
||||
"Public stories"
|
||||
|
|
|
|||
Loading…
Reference in a new issue