mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Compare commits
2 Commits
a9e0f5b7b0
...
1688a466f4
Author | SHA1 | Date | |
---|---|---|---|
|
1688a466f4 | ||
|
625da4cdd9 |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user