ActivityFactory class

The ActivityFactory to generate text and then uses simple markdown semantics like chatdown to create Activity.

Methods

fromObject(any)

Generate the activity.

Method Details

fromObject(any)

Generate the activity.

static function fromObject(lgResult: any): Partial<Activity>

Parameters

lgResult

any

string result from languageGenerator.

Returns

Partial<Activity>

The generated MessageActivity.