mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Pyrofork: remove animation from send_story ValueError
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
1e93808ed0
commit
41e13454e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue