diff --git a/pyrogram/enums/__init__.py b/pyrogram/enums/__init__.py index 9d574dd6..d25b821c 100644 --- a/pyrogram/enums/__init__.py +++ b/pyrogram/enums/__init__.py @@ -29,7 +29,6 @@ from .next_code_type import NextCodeType from .parse_mode import ParseMode from .poll_type import PollType from .sent_code_type import SentCodeType -from .stories_privacy import StoriesPrivacy from .stories_privacy_rules import StoriesPrivacyRules from .user_status import UserStatus @@ -47,7 +46,6 @@ __all__ = [ 'ParseMode', 'PollType', 'SentCodeType', - 'StoriesPrivacy', 'StoriesPrivacyRules', 'UserStatus' ] diff --git a/pyrogram/enums/stories_privacy.py b/pyrogram/enums/stories_privacy.py deleted file mode 100644 index b88d7e0b..00000000 --- a/pyrogram/enums/stories_privacy.py +++ /dev/null @@ -1,39 +0,0 @@ -# Pyrogram - Telegram MTProto API Client Library for Python -# Copyright (C) 2017-present Dan -# -# This file is part of Pyrogram. -# -# Pyrogram is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as published -# by the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Pyrogram is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with Pyrogram. If not, see . - -from enum import auto -from .auto_name import AutoName - - -class StoriesPrivacy(AutoName): - """Stories privacy type enumeration used in :obj:`~pyrogram.method.SendStory`.""" - - PUBLIC = auto() - "Public stories" - - CLOSE_FRIENDS = auto() - "Close friends stories" - - CONTACTS = auto() - "Contacts only stories" - - PRIVATE = auto() - "Private stories" - - NO_CONTACTS = auto() - "Hide stories from contacts"