Share via


TestAdapter.MakeActivity(String) Method

Definition

Creates a message activity from text and the current conversational context.

public Microsoft.Bot.Schema.Activity MakeActivity (string text = default);
member this.MakeActivity : string -> Microsoft.Bot.Schema.Activity
Public Function MakeActivity (Optional text As String = Nothing) As Activity

Parameters

text
String

The message text.

Returns

An appropriate message activity.

Remarks

A TestFlow object calls this to get a message activity appropriate to the current conversation.

Applies to