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,