Skip to content

Commit

Permalink
Pyrofork: remove animation from send_story ValueError
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Jan 4, 2024
1 parent 1e93808 commit a882a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrogram/methods/users/send_story.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async def send_story(
)
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))

Expand Down

0 comments on commit a882a99

Please sign in to comment.