open fun notify(controller: ConnectorController, recipientId: PlayerId, intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>? = null, parameters: Map<String, String> = emptyMap(), notificationType: ActionNotificationType?, errorListener: (Throwable) -> Unit = {}): Unit (source)
Sends a notification to the connector. A BotBus is created and the corresponding story is called.
controller - the connector controller
recipientId - the recipient identifier
intent - the notification intent
step - the optional step target
parameters - the optional parameters
notificationType - notification type if any
errorListener - called when a message has not been delivered