tock / ai.tock.bot.connector.alexa / endForAlexa

endForAlexa

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

Sends an Alexa message as last bot answer, only if the ConnectorType of the current BotBus is alexaConnectorType.