Skip to content

Commit 8710ddc

Browse files
authored
Update asyncio_helper.py
1 parent d05e275 commit 8710ddc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

telebot/asyncio_helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,8 @@ async def send_paid_media(
613613
business_connection_id=None, payload=None, allow_paid_broadcast=None, direct_messages_topic_id=None,
614614
suggested_post_parameters=None):
615615
method_url = r'sendPaidMedia'
616-
media_json, files = convert_input_media_array(media)
616+
# add await. please check other errors in code
617+
media_json, files = await convert_input_media_array(media)
617618
_payload = {'chat_id': chat_id, 'star_count': star_count, 'media': media_json}
618619
# USE _payload for request payload
619620
if caption:

0 commit comments

Comments
 (0)