send video
Browse files- App/Worker.py +1 -1
App/Worker.py
CHANGED
@@ -74,7 +74,7 @@ def cleanup_temp_directory(
|
|
74 |
temp_dir: str, output_dir: str, chat_id: int = -1002069945904
|
75 |
):
|
76 |
try:
|
77 |
-
bot.send_video(
|
78 |
finally:
|
79 |
# Cleanup: Remove the temporary directory
|
80 |
shutil.rmtree(temp_dir, ignore_errors=True)
|
|
|
74 |
temp_dir: str, output_dir: str, chat_id: int = -1002069945904
|
75 |
):
|
76 |
try:
|
77 |
+
bot.send_video(-1002069945904, video=output_dir, caption="Your video caption")
|
78 |
finally:
|
79 |
# Cleanup: Remove the temporary directory
|
80 |
shutil.rmtree(temp_dir, ignore_errors=True)
|