open fun withMessage(connectorType: ConnectorType, messageProvider: () -> ConnectorMessage): BotBus
(source)
Adds the specified ConnectorMessage to the bus context if the targetConnectorType is compatible.
open fun withMessage(connectorType: ConnectorType, connectorId: String, messageProvider: () -> ConnectorMessage): BotBus
(source)
Adds the specified ConnectorMessage to the bus context if the targetConnectorType and connectorId is compatible.