tock / ai.tock.bot.api.websocket

Package ai.tock.bot.api.websocket

Bot API Websocket methods

Functions

start

Starts a client.

fun start(botDefinition: ClientBotDefinition, url: String): Unit
fun start(botDefinition: ClientBotDefinition, serverPort: Int = intProperty("tock_websocket_port", 8080), serverHost: String = property("tock_websocket_host", "localhost"), ssl: Boolean = booleanProperty("tock_websocket_ssl", false)): Unit

startWithDemo

Starts a bot using the demo server.

fun startWithDemo(botDefinition: ClientBotDefinition): Unit