BotComponent class

Definition of a BotComponent that allows registration of services, custom actions, memory scopes and adapters. To make your components available to the system you derive from BotComponent and register services to add functionality. These components then are consumed in appropriate places by the systems that need them. When using Composer, configureServices gets called automatically on the components by the bot runtime, as long as the components are registered in the configuration.

Properties

z

Methods

configureServices(ServiceCollection, Configuration)

Property Details

z

static z: ZodType<BotComponent, ZodTypeDef>

Property Value

ZodType<BotComponent, ZodTypeDef>

Method Details

configureServices(ServiceCollection, Configuration)

function configureServices(services: ServiceCollection, configuration: Configuration)

Parameters

services

ServiceCollection

configuration

Configuration