From 7fa1c0ccf4b63f0f37a645d215a2777a2f225352 Mon Sep 17 00:00:00 2001 From: KurimuzonAkuma Date: Sun, 29 Oct 2023 19:33:26 +0300 Subject: [PATCH] Fix Story.copy method --- pyrogram/types/messages_and_media/story.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyrogram/types/messages_and_media/story.py b/pyrogram/types/messages_and_media/story.py index 493ecaf6..20fc006a 100644 --- a/pyrogram/types/messages_and_media/story.py +++ b/pyrogram/types/messages_and_media/story.py @@ -1368,7 +1368,7 @@ class Story(Object, Update): caption = self.caption or "" caption_entities = self.caption_entities - return await self._client.post_story( + return await self._client.send_story( chat_id=chat_id, media=file_id, caption=caption, @@ -1378,7 +1378,7 @@ class Story(Object, Update): caption_entities=caption_entities, privacy=privacy, allowed_users=allowed_users, - disallowed_chats=disallowed_users + disallowed_users=disallowed_users ) async def delete(self):