From 35b20d9f446937394cb388c8d2819bd6997b893c Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Thu, 30 Nov 2023 00:11:12 +0300 Subject: [PATCH] Fix typehints for enums --- pyrogram/enums/profile_color.py | 2 +- pyrogram/enums/stories_privacy_rules.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"