tock / ai.tock.bot.connector.web / withWeb

withWeb

fun <T : Bus<T>> T.withWeb(messageProvider: () -> WebConnectorMessage): T (source)

Adds a Web ConnectorMessage if the current connector is Web. You need to call BotBus.send or BotBus.end later to send this message.