app.add_handler(ConversationHandler( entry_points=[CommandHandler('add', handler.add)], states={ 1: [MessageHandler(filters.TEXT & ~filters.COMMAND, handler.add_subscription)], ConversationHandler.TIMEOUT: [TypeHandler(Update, handler.conversation_timeout)] }, fallbacks=[CommandHandler('done', handler.done)], allow_reentry=True, conversation_timeout=ADD_TIMEOUT ), group=4) app.add_handler(ConversationHandler( entry_points=[CommandHandler('remove', handler.remove)], states={ 1: [MessageHandler(filters.TEXT & ~filters.COMMAND, handler.remove_subscription)], ConversationHandler.TIMEOUT: [TypeHandler(Update, handler.conversation_timeout)] }, fallbacks=[CommandHandler('done', handler.done)], allow_reentry=True, conversation_timeout=REMOVE_TIMEOUT ), group=5)