TestAdapter.MakeActivity(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.