tock / ai.tock.bot.api.client / newBot

newBot

fun newBot(apiKey: String, stories: List<ClientStoryDefinition>, unknownStory: ClientStoryDefinition = defaultUnknownStory()): ClientBotDefinition (source)
fun newBot(apiKey: String, vararg stories: ClientStoryDefinition): ClientBotDefinition (source)

Creates a new bot.