diff --git a/pyrogram/enums/profile_color.py b/pyrogram/enums/profile_color.py index 07e23ea9..22a5b2ff 100644 --- a/pyrogram/enums/profile_color.py +++ b/pyrogram/enums/profile_color.py @@ -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 diff --git a/pyrogram/enums/stories_privacy_rules.py b/pyrogram/enums/stories_privacy_rules.py index c352f2b1..ad728e3c 100644 --- a/pyrogram/enums/stories_privacy_rules.py +++ b/pyrogram/enums/stories_privacy_rules.py @@ -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"