if data == CALLBACK_BUTTON1_START:
choose_list = print_jobs_list(update=update, context=context)
context.bot.send_message(chat_id=chat_id, text=f"Выберите номер этапа работы?\n{choose_list}")
dialog_handler = ConversationHandler(
entry_points=[
CommandHandler('some_command', callback)
],
states={
'buttons':[
CallbackQueryHandler(callback)
],
'job_selection':[
MessageHandler(FIlters.text, callback)
],
},
fallbacks=[
CommandHandler('cancel', cancel)
]
)