markup_inline = types.InlineKeyboardMarkup()
item1 = types.InlineKeyboardButton(text= 'Текст1 '+str(row[3]), callback_data= 'like1')
item2 = types.InlineKeyboardButton(text= 'Текст2 '+str(row[3]), callback_data= 'like2')
markup_inline.add(item1, item2)
edit_message_reply_markup
у бота, передав нужные параметры.edit_message_reply_markup(chat_id=None, message_id=None, inline_message_id=None, reply_markup=None):
"""
Use this method to edit only the reply markup of messages.
:param chat_id:
:param message_id:
:param inline_message_id:
:param reply_markup:
:return:
"""