From 625da4cdd9e247b68868e01a06ab4f285a995fb5 Mon Sep 17 00:00:00 2001 From: Igor Vaiman Date: Sun, 27 Mar 2022 18:32:05 +0400 Subject: [PATCH] missing await inserted --- telebot/asyncio_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/asyncio_helper.py b/telebot/asyncio_helper.py index 591410c..e8a9867 100644 --- a/telebot/asyncio_helper.py +++ b/telebot/asyncio_helper.py @@ -1200,7 +1200,7 @@ async def edit_message_caption(token, caption, chat_id=None, message_id=None, in async def edit_message_media(token, media, chat_id=None, message_id=None, inline_message_id=None, reply_markup=None): method_url = r'editMessageMedia' - media_json, file = convert_input_media(media) + media_json, file = await convert_input_media(media) payload = {'media': media_json} if chat_id: payload['chat_id'] = chat_id