aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel.kasim@kabisa.nl>2022-05-13 17:49:11 +0200
committerRahiel Kasim <rahiel.kasim@kabisa.nl>2022-05-13 17:49:11 +0200
commit34d7703754d441a6f4c4a7b5b3210759d36078e2 (patch)
treef7d99eb7e437437a076671995a13fd4b0e04e5c3
parent012cf13ca8a9bea49c571876a2cb33a87f245dde (diff)
send streaming videos by defaultHEADmaster
-rw-r--r--telegram_send/telegram_send.py4
-rw-r--r--telegram_send/version.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/telegram_send/telegram_send.py b/telegram_send/telegram_send.py
index 1d9a661..8b74190 100644
--- a/telegram_send/telegram_send.py
+++ b/telegram_send/telegram_send.py
@@ -285,10 +285,10 @@ def send(*,
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:
diff --git a/telegram_send/version.py b/telegram_send/version.py
index 544a4e6..77b5f03 100644
--- a/telegram_send/version.py
+++ b/telegram_send/version.py
@@ -1 +1 @@
-__version__ = "0.33.2"
+__version__ = "0.34"