tock / ai.tock.bot.admin.bot / BotVersion

BotVersion

data class BotVersion (source)

A bot version number.

Constructors

<init>

A bot version number.

BotVersion(botVersion: ArtifactVersion, tockVersion: ArtifactVersion)

Properties

botVersion

val botVersion: ArtifactVersion

tockVersion

val tockVersion: ArtifactVersion

Companion Object Functions

getCurrentBotVersion

Get the current bot version.

fun getCurrentBotVersion(botId: String): BotVersion