From 1b02a6a148fc87009bd6e60d9a0cf842543a6096 Mon Sep 17 00:00:00 2001 From: Albert Einstein <73480087+AlbertEinsteinTG@users.noreply.github.com> Date: Sun, 13 Nov 2022 18:53:30 +0530 Subject: [PATCH] Add __all__ for better enums suggestions (#1126) --- pyrogram/enums/__init__.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pyrogram/enums/__init__.py b/pyrogram/enums/__init__.py index f847b3cf..d19c7044 100644 --- a/pyrogram/enums/__init__.py +++ b/pyrogram/enums/__init__.py @@ -30,3 +30,20 @@ from .parse_mode import ParseMode from .poll_type import PollType from .sent_code_type import SentCodeType from .user_status import UserStatus + +__all__ = [ + 'ChatAction', + 'ChatEventAction', + 'ChatMemberStatus', + 'ChatMembersFilter', + 'ChatType', + 'MessageEntityType', + 'MessageMediaType', + 'MessageServiceType', + 'MessagesFilter', + 'NextCodeType', + 'ParseMode', + 'PollType', + 'SentCodeType', + 'UserStatus' +]