From 64655ecd0412233246d2cb9381a23317ff80150c Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Mon, 21 Jun 2021 01:41:30 +0400 Subject: [PATCH] Fixed file sending. 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 028f2ad..644ae52 100644 --- a/bot_s3rius/actions/video_converter.py +++ b/bot_s3rius/actions/video_converter.py @@ -35,7 +35,7 @@ async def find_py_package(event: events.NewMessage.Event): str(converted_file), {"crf": 35} ).execute() - await event.send_file( + await config.telegram_client.send_file( entity=await event.get_input_chat(), file=converted_file, caption="Рвот и Ð²Ð¸Ð´Ð¾Ñ Ñ Ð½Ð¾Ñ€Ð¼Ð°Ð»ÑŒÐ½Ñ‹Ð¼ размером.", -- GitLab