def start(bot, update):
keyboard = [[InlineKeyboardButton("Apples", callback_data='1')],
[InlineKeyboardButton("Oranges", callback_data='2')],
[InlineKeyboardButton("Beans", callback_data='3')],
[InlineKeyboardButton("Rice", callback_data='4')],
[InlineKeyboardButton("Bread", callback_data='5')],
[InlineKeyboardButton("Tomatos", callback_data='6')],
[InlineKeyboardButton("Strawberry", callback_data='7')]
]
reply_markup = InlineKeyboardMarkup(keyboard)
update.message.reply_text('Multiple choice Quizz \nSelect all vegetables:', reply_markup=reply_markup)
Using the InlineKeyboardMarkup, do there is a way in which I can provide feedback for the user button selection without hiding or removing the InlineKeyboardMarkup?
For example when the user select InlineKeyboardButton do I can:
Change the InlineKeyboardButton text
Change the appearance of the InlineKeyboardButton
Edit initial message in update.message.reply_text ( )
I'm trying to see if a multiple choice question can be made, and if so I would need to provide a way to let the user know the button had been selected or pressed.