Fix typehints for enums

This commit is contained in:
KurimuzonAkuma 2023-11-30 00:11:12 +03:00
parent 2458479c8b
commit 35b20d9f44
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ from .auto_name import AutoName
class ProfileColor(AutoName): class ProfileColor(AutoName):
"""Profile color enumeration used in :obj:`~pyrogram.method.UpdateColor`.""" """Profile color enumeration used in :meth:`~pyrogram.method.UpdateColor`."""
RED = 0 RED = 0
ORANGE = 1 ORANGE = 1

View File

@ -21,7 +21,7 @@ from .auto_name import AutoName
class StoriesPrivacyRules(AutoName): class StoriesPrivacyRules(AutoName):
"""Stories privacy rules type enumeration used in :obj:`~pyrogram.method.SendStory`.""" """Stories privacy rules type enumeration used in :meth:`~pyrogram.method.SendStory`."""
PUBLIC = auto() PUBLIC = auto()
"Public stories" "Public stories"