rom telebot import types image = open('image.jpg', 'rb') bot.edit_message_media(media=types.InputMedia(type='photo', media=image), chat_id=call.message.chat.id, message_id=call.message.message_id, reply_markup=markup)
rom telebot import types image = open('image.jpg', 'rb') bot.edit_message_media(media=types.InputMedia(type='photo', media=image), chat_id=call.message.chat.id, message_id=call.message.message_id, reply_markup=markup)