mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-23 23:34:28 +00:00
Fix typehints for enums
This commit is contained in:
parent
2458479c8b
commit
35b20d9f44
@ -20,7 +20,7 @@ from .auto_name import AutoName
|
||||
|
||||
|
||||
class ProfileColor(AutoName):
|
||||
"""Profile color enumeration used in :obj:`~pyrogram.method.UpdateColor`."""
|
||||
"""Profile color enumeration used in :meth:`~pyrogram.method.UpdateColor`."""
|
||||
|
||||
RED = 0
|
||||
ORANGE = 1
|
||||
|
@ -21,7 +21,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.method.SendStory`."""
|
||||
|
||||
PUBLIC = auto()
|
||||
"Public stories"
|
||||
|
Loading…
Reference in New Issue
Block a user