Jaa


ActivityFactory.FromObject(Object) Method

Definition

Generate the activity. Support Both string LG result and structured LG result.

public static Microsoft.Bot.Schema.Activity FromObject (object lgResult);
static member FromObject : obj -> Microsoft.Bot.Schema.Activity
Public Shared Function FromObject (lgResult As Object) As Activity

Parameters

lgResult
Object

lg result from languageGenerator.

Returns

activity.

Applies to