fun installBots(routerHandlers: List<(Router) -> Any?>, createApplicationIfNotExists: Boolean = true, startupLock: Lock? = null): Unit
(source)
Installs the bot(s).
routerHandlers
- the additional router handlers
createApplicationIfNotExists
- create an nlp application if not exists
startupLock
- if not null, wait do listen until the lock is released