tock / ai.tock.bot.api.client / ClientBotDefinition

ClientBotDefinition

class ClientBotDefinition (source)

Constructors

<init>

ClientBotDefinition(apiKey: String, stories: List<ClientStoryDefinition>, unknownStory: ClientStoryDefinition)

Properties

apiKey

val apiKey: String

stories

val stories: List<ClientStoryDefinition>

unknownStory

val unknownStory: ClientStoryDefinition

Extension Functions

toConfiguration

fun ClientBotDefinition.toConfiguration(): ClientConfiguration