From 0eca84a6494e4a156c20051b8200f5f49ed47386 Mon Sep 17 00:00:00 2001 From: user Date: Fri, 5 Apr 2024 14:11:15 +0300 Subject: [PATCH] fix --- app/core/_utils/tg_process_template.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/core/_utils/tg_process_template.py b/app/core/_utils/tg_process_template.py index 6c1a076..6761199 100644 --- a/app/core/_utils/tg_process_template.py +++ b/app/core/_utils/tg_process_template.py @@ -27,6 +27,14 @@ async def tg_process_template( content_id=content_id, **kwargs ) + elif audio: + return await chat_wrap.send_audio( + audio, + caption=text, + reply_markup=keyboard, + content_id=content_id, + **kwargs + ) elif video: return await chat_wrap.send_video( video,