fix
This commit is contained in:
parent
7b42521c62
commit
0eca84a649
|
|
@ -27,6 +27,14 @@ async def tg_process_template(
|
||||||
content_id=content_id,
|
content_id=content_id,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
|
elif audio:
|
||||||
|
return await chat_wrap.send_audio(
|
||||||
|
audio,
|
||||||
|
caption=text,
|
||||||
|
reply_markup=keyboard,
|
||||||
|
content_id=content_id,
|
||||||
|
**kwargs
|
||||||
|
)
|
||||||
elif video:
|
elif video:
|
||||||
return await chat_wrap.send_video(
|
return await chat_wrap.send_video(
|
||||||
video,
|
video,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue