tock / ai.tock.bot.engine / ConnectorController / notify

# notify

`open fun notify(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.

### Parameters

`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