open 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.
open fun addSuggestions(message: ConnectorMessage, suggestions: List<CharSequence>): BotBus.() -> ConnectorMessage?
(source)
Updates a ConnectorMessage with the specified list of suggestions. Default returns message unmodified.