tock / ai.tock.bot.connector / ConnectorData

# ConnectorData

`open class ConnectorData` (source)

The connector data that connector sends to the ConnectorController

### Constructors

#### <init> | The connector data that connector sends to the ConnectorController `ConnectorData(callback: ConnectorCallback, priorUserId: PlayerId? = null, saveTimeline: Boolean = true, groupId: String? = null, referer: String? = null)`

### Properties

#### callback | The callback (used mostly in synchronous Connector). `val callback: ConnectorCallback`
#### groupId | An optional group id (for users group conversation handling). `val groupId: String?`
#### priorUserId | The previous user id - used when the user had a "temporary" identifier and the definitive identifier is now known. `val priorUserId: PlayerId?`
#### referer | An optional referer. `val referer: String?`
#### saveTimeline | To know if the timeline has to be saved - default is true. Set to false for bots that you don't need to register. `var saveTimeline: Boolean`
#### skipAnswer | Set to true if the bot does not make any answer to a user sentence. Synchronous Connectors usually do not support skipping answer. `var skipAnswer: Boolean`

### Inheritors

#### WhatsAppConnectorData | Dedicated Whatsapp parameters. `class WhatsAppConnectorData : ConnectorData`