@bot.callback_query_handler(func=lambda call: True)def callback_handler(call): if call.data == 'start': question = "Which city is the capital of France?" options = ["Paris", "Berlin", "Madrid", "London"] bot.send_poll(call.message.chat.id, question, options)
So far, there is such a code. But right now, any answer is the right one. How do I make sure that there is only one correct answer?
It should be borne in mind that I need a "quiz". That is, InlineButtons should not be used.