Answer the question
In order to leave comments, you need to log in
An error in the code, I can not understand what is wrong?
My code:
elif message.text in[delo.text for delo in user.buisnes]:
text = {message.text}
deluga = types.InlineKeyboardMarkup(row_width=2)
deluga.add(types.InlineKeyboardMarkup(text='Выполннить', callback_data='completed_'))
deluga.add(types.InlineKeyboardMarkup(text='Удалить', callback_data='delete_'))
deluga.add(types.InlineKeyboardMarkup(text='Меню', callback_data='menu'))
bot.send_message(message.chat.id, text, reply_markup=deluga)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question