mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +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):
|
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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user