tock / ai.tock.bot.definition / BotProvider

BotProvider

interface BotProvider (source)

Provides a specific type of BotDefinition. Custom provider should usually not directly extend this class, but instead extend BotProviderBase.

Properties

botProviderId

The bot provider unique identifier.

open val botProviderId: BotProviderId

configurationUpdated

Does this bot provider gets a configuration update ?

open var configurationUpdated: Boolean

Functions

botDefinition

Provides the bot definition.

abstract fun botDefinition(): BotDefinition

Inheritors

BotProviderBase

Base implementation of BotProvider

open class BotProviderBase : BotProvider