From 41e13454e76da5dc9fccab8ea77f9b877434976b Mon Sep 17 00:00:00 2001 From: wulan17 Date: Thu, 4 Jan 2024 20:07:26 +0700 Subject: [PATCH] Pyrofork: remove animation from send_story ValueError Signed-off-by: wulan17 --- pyrogram/methods/users/send_story.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyrogram/methods/users/send_story.py b/pyrogram/methods/users/send_story.py index 8ee3aed0..5705bdfc 100644 --- a/pyrogram/methods/users/send_story.py +++ b/pyrogram/methods/users/send_story.py @@ -214,7 +214,7 @@ class SendStory: ) else: if forward_from_chat_id is None: - raise ValueError("You need to pass one of the following parameter animation/photo/video/forward_from_chat_id!") + raise ValueError("You need to pass one of the following parameter photo/video/forward_from_chat_id!") text, entities = self._split(**await utils.parse_text_entities(self, caption, parse_mode, caption_entities))