BotComponent class

サービス、カスタム アクション、メモリ スコープ、アダプターの登録を許可する BotComponent の定義。 システムでコンポーネントを使用できるようにするには、BotComponent から派生し、サービスを登録して機能を追加します。 これらのコンポーネントは、必要なシステムによって適切な場所で使用されます。 Composer を使用する場合、コンポーネントが構成に登録されている限り、configureServices はボット ランタイムによってコンポーネントに対して自動的に呼び出されます。

プロパティ

z

メソッド

configureServices(ServiceCollection, Configuration)

プロパティの詳細

z

static z: ZodType<BotComponent, ZodTypeDef>

プロパティ値

ZodType<BotComponent, ZodTypeDef>

メソッドの詳細

configureServices(ServiceCollection, Configuration)

function configureServices(services: ServiceCollection, configuration: Configuration)

パラメーター

services

ServiceCollection

configuration

Configuration