tock / ai.tock.bot.connector.ga / sendToGoogleAssistant

sendToGoogleAssistant

fun <T : Bus<T>> T.sendToGoogleAssistant(messageProvider: T.() -> GAResponseConnectorMessage, delay: Long = defaultDelay(currentAnswerIndex)): T (source)

Sends a Google Assistant message only if the ConnectorType of the current BotBus is gaConnectorType.