Is it possible to have two conversation handler with same entry points?
edit_photo_conversation = ConversationHandler(
`entry_points=[CallbackQueryHandler(on_callback_data_received)],`
states={
EDIT_PHOTO: [MessageHandler(Filters.all, edit_photo)]
},
fallbacks=[CommandHandler('cancel', cancel)]
)
edit_gender_conversation = ConversationHandler(
entry_points=[CallbackQueryHandler(on_callback_data_received)],
states={
EDIT_GENDER: [MessageHandler(Filters.all, edit_gender)]
},
fallbacks=[CommandHandler('cancel', cancel)]
)
dispatcher.add_handler(edit_photo_conversation)
dispatcher.add_handler(edit_gender_conversation)
callback_data of inline buttons to trigger each conversation is different but always dispatcher triggers the first handler.
So how to handle different conversations based on callback_data?
Is it possible to have two conversation handler with same entry points?
callback_dataof inline buttons to trigger each conversation is different but always dispatcher triggers the first handler.So how to handle different conversations based on
callback_data?