tock / ai.tock.bot.definition / EventListenerBase

# EventListenerBase

`open class EventListenerBase : EventListener` (source)

Base implementation of EventListener.

### Constructors

#### <init> | Base implementation of EventListener. `EventListenerBase()`

### Functions

#### listenEvent | Listen StartConversationEvent or EndConversationEvent by default (if respectively BotDefinition.helloStory or BotDefinition.goodbyeStory are set). `open fun listenEvent(controller: ConnectorController, connectorData: ConnectorData, event: Event): Boolean`
#### passThreadControlEventListener | `open fun passThreadControlEventListener(controller: ConnectorController, connectorData: ConnectorData, event: PassThreadControlEvent): Boolean`
#### sendChoice | `fun sendChoice(event: OneToOneEvent, intent: IntentAware, controller: ConnectorController, connectorData: ConnectorData): Unit`