fun notify(applicationId: String, namespace: String, botId: String, recipientId: PlayerId, intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>? = null, parameters: Parameters = Parameters.EMPTY, stateModifier: NotifyBotStateModifier = NotifyBotStateModifier.KEEP_CURRENT_STATE, notificationType: ActionNotificationType? = null, errorListener: (Throwable) -> Unit = {}): Unit (source)
Sends a notification to a connector. A Bus is created and the corresponding story is called.
applicationId - the configuration connector id
namespace - the configuration namespace
botId - the configuration botId
applicationId - the configuration connector id
recipientId - the recipient identifier
intent - the notification intent
step - the optional step target
parameters - the optional parameters
stateModifier - allow the notification to bypass current user state
notificationType - the notification type if any
errorListener - called when a message has not been delivered