tock / ai.tock.bot.connector.alexa / sendToAlexa

sendToAlexa

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

Sends an Alexa message only if the ConnectorType of the current BotBus is alexaConnectorType.