SkillExtensions class

Extension methods for skills.

Methods

useSkillClient(DialogManager, BotFrameworkClient)

Configures the skill client to use.

useSkillConversationIdFactory(DialogManager, SkillConversationIdFactoryBase)

Configures the skill conversation id factory to use.

Method Details

useSkillClient(DialogManager, BotFrameworkClient)

Configures the skill client to use.

static function useSkillClient(dialogManager: DialogManager, skillClient: BotFrameworkClient): DialogManager

Parameters

dialogManager

DialogManager

The dialog manager to add skill client to.

skillClient

BotFrameworkClient

The skill client to be added.

Returns

DialogManager

The existing dialog manager object with the new skill client state.

useSkillConversationIdFactory(DialogManager, SkillConversationIdFactoryBase)

Configures the skill conversation id factory to use.

static function useSkillConversationIdFactory(dialogManager: DialogManager, skillConversationIdFactory: SkillConversationIdFactoryBase): DialogManager

Parameters

dialogManager

DialogManager

The dialog manager to add skill conversation id factory to.

skillConversationIdFactory

SkillConversationIdFactoryBase

The skill conversation id factory to be added.

Returns

DialogManager

The existing dialog manager object with the new skill conversation factory state.