Skip to content

Commit 44816f2

Browse files
committed
rename
1 parent b18fe01 commit 44816f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyrogram/types/messages_and_media/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
from .message_reaction_updated import MessageReactionUpdated
5757
from .message_reaction_count_updated import MessageReactionCountUpdated
5858
from .chat_boost_added import ChatBoostAdded
59-
from .story import Story
6059
from .payment_form import PaymentForm
6160
from .giveaway import Giveaway
6261
from .giveaway_created import GiveawayCreated
@@ -116,7 +115,6 @@
116115
"ReceivedGift",
117116
"UpgradedGift",
118117
"Sticker",
119-
"Story",
120118
"Venue",
121119
"Video",
122120
"VideoNote",

pyrogram/types/stories/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from .input_story_content_photo import InputStoryContentPhoto
2929
from .input_story_content_video import InputStoryContentVideo
3030
from .location_address import LocationAddress
31+
from .story import Story
3132
from .story_area import StoryArea
3233
from .story_area_position import StoryAreaPosition
3334
from .story_area_type import StoryAreaType
@@ -58,6 +59,7 @@
5859
"InputStoryContentPhoto",
5960
"InputStoryContentVideo",
6061
"LocationAddress",
62+
"Story",
6163
"StoryArea",
6264
"StoryAreaPosition",
6365
"StoryAreaType",

pyrogram/types/messages_and_media/story.py renamed to pyrogram/types/stories/story.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from pyrogram import raw, utils, types, enums
2626
from ..object import Object
2727
from ..update import Update
28-
from .message import Str
28+
from ..messages_and_media.message import Str
2929
from pyrogram.errors import RPCError
3030

3131
log = logging.getLogger(__name__)

0 commit comments

Comments
 (0)