tock / ai.tock.bot.engine / ConnectorController / handle

# handle

`abstract fun handle(event: Event, data: ConnectorData = ConnectorData(ConnectorCallbackBase(event.applicationId, connector.connectorType))): Unit` (source)

Handles an event sent by the connector. the primary goal of this controller.

### Parameters

`event` - the event to handle

`data` - the optional additional data from the connector