From 99353c9611d33133e0786d9a085797d02a3ed7bc Mon Sep 17 00:00:00 2001
From: Pavel Kirilin <win10@list.ru>
Date: Mon, 21 Jun 2021 01:08:04 +0400
Subject: [PATCH] Fixed reply parameters in video converter.

Signed-off-by: Pavel Kirilin <win10@list.ru>
---
 bot_s3rius/actions/video_converter.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bot_s3rius/actions/video_converter.py b/bot_s3rius/actions/video_converter.py
index 988ab0d..2cc6328 100644
--- a/bot_s3rius/actions/video_converter.py
+++ b/bot_s3rius/actions/video_converter.py
@@ -37,7 +37,7 @@ async def find_py_package(event: events.NewMessage.Event):
 
     await event.reply(
         f"Reduced {reduced_size}%.",
-        video=converted_file,
+        file=converted_file,
         supports_streaming=True,
     )
 
-- 
GitLab