Pyrofork: remove animation from send_story ValueError

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-01-04 20:07:26 +07:00
parent 1e93808ed0
commit 41e13454e7
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -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))