tock / ai.tock.bot.engine / BotRepository / notify

# notify

`fun notify(applicationId: String, recipientId: PlayerId, intent: IntentAware, step: StoryStep<out StoryHandlerDefinition>? = null, parameters: Map<String, String> = emptyMap(), stateModifier: NotifyBotStateModifier = NotifyBotStateModifier.KEEP_CURRENT_STATE, notificationType: ActionNotificationType? = null, namespace: String? = null, botId: String? = null, errorListener: (Throwable) -> Unit = {}): Unit` (source)
Deprecated: use ai.tock.bot.definition.notify

Sends a notification to a connector. A Bus is created and the corresponding story is called.

### Parameters

`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