tock / ai.tock.bot.definition / SimpleStoryHandlerBase

# SimpleStoryHandlerBase

`abstract class SimpleStoryHandlerBase : StoryHandlerBase<StoryHandlerDefinition>` (source)

For simple stories that do not use custom StoryHandlerDefinition.

### Constructors

#### <init> | For simple stories that do not use custom StoryHandlerDefinition. `SimpleStoryHandlerBase(mainIntentName: String? = null)`

### Functions

#### action | The method to implement. `abstract fun action(bus: BotBus): Unit`
#### newHandlerDefinition | Instantiates new instance of T. `open fun newHandlerDefinition(bus: BotBus, data: Any?): StoryHandlerDefinition`