tock / ai.tock.bot.connector.slack / SlackConnector / addSuggestions

# addSuggestions

`fun addSuggestions(text: CharSequence, suggestions: List<CharSequence>): BotBus.() -> ConnectorMessage?` (source)

Returns a ConnectorMessage with the specified list of suggestions. If the connector does not support suggestions, returns null.

`fun addSuggestions(message: ConnectorMessage, suggestions: List<CharSequence>): BotBus.() -> ConnectorMessage?` (source)

Updates a ConnectorMessage with the specified list of suggestions. Default returns message unmodified.