Skip to content

Commit

Permalink
send streaming videos by default
Browse files Browse the repository at this point in the history
  • Loading branch information
rahiel committed May 13, 2022
1 parent 012cf13 commit 34d7703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions telegram_send/telegram_send.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ def make_captions(items, captions):
if videos:
if captions:
for (v, c) in make_captions(videos, captions):
message_ids += [bot.send_video(video=v, caption=c, **kwargs_caption)]
message_ids += [bot.send_video(video=v, caption=c, supports_streaming=True, **kwargs_caption)]
else:
for v in videos:
message_ids += [bot.send_video(video=v, **kwargs)]
message_ids += [bot.send_video(video=v, supports_streaming=True, **kwargs)]

if audios:
if captions:
Expand Down
2 changes: 1 addition & 1 deletion telegram_send/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.33.2"
__version__ = "0.34"

0 comments on commit 34d7703

Please sign in to comment.