tock / ai.tock.bot.connector.ga / withGoogleVoiceAssistant

withGoogleVoiceAssistant

fun <T : Bus<T>> T.withGoogleVoiceAssistant(messageProvider: () -> GAResponseConnectorMessage): T (source)

If the device supports audio, adds a Google Assistant ConnectorMessage if the current connector is Google Assistant. You need to call BotBus.send or BotBus.end later to send this message.