deluga.add(types. InlineKeyboardButton(text='Выполнить', callback_data='completed_{delo.id}'))
bot.callback_query_handler(func=lambda call: True)
def callback_key(call):
user = User.get_user(call.message.chat.id)
if user is None:
user = User(call.message.chat.id)
if call.data == 'completed_':
bot.answer_callback_query(call.id, 'Задание выполнено!')
delo_id = call.data.replace('completed_', '')
delo = user.get_delo_by_id(delo_id)
user.buisnes.remove(delo)