tock / ai.tock.bot.engine / BotBus / handleAndSwitchStory

handleAndSwitchStory

open fun handleAndSwitchStory(storyDefinition: StoryDefinition, starterIntent: Intent = storyDefinition.mainIntent()): Unit (source)

Handles the action and switches the context to the specified story definition.