interface StoryDefinitionExtended : StoryDefinition
(source)
Helper methods for StoryDefinition implementation. Usually direct implementations are enums. This interface add a starter (and main) intent with intent name equals to the property of value name to the StoryDefinition. Warning: advanced usage only.
id |
An unique identifier for a given bot. open val id: String |
intents |
The complete list of intents supported by the story. open val intents: Set<Intent> |
name |
abstract val name: String |
otherStarterIntents |
open val otherStarterIntents: Set<IntentAware> |
secondaryIntents |
open val secondaryIntents: Set<IntentAware> |
starterIntents |
One or more intents that start the story. Usually, you don't have the same starter intent in two different story definition. open val starterIntents: Set<Intent> |
steps |
The root steps of the story. open val steps: Set<StoryStep<out StoryHandlerDefinition>> |
stepsArray |
StoryStep implementation could be an enum open val stepsArray: Array<out StoryStep<out StoryHandlerDefinition>> |
unsupportedUserInterface |
open val unsupportedUserInterface: UserInterfaceType? |
unsupportedUserInterfaces |
When this story does not support all UserInterfaceTypes. open val unsupportedUserInterfaces: Set<UserInterfaceType> |