tock / ai.tock.bot.connector.slack / endForSlack

endForSlack

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

Sends a Slack message as last bot answer, only if the ConnectorType of the current BotBus is slackConnectorType.