Jaa


TestFlow.Send Method

Definition

Overloads

Send(IActivity)

Adds an activity from the user to the bot.

Send(String)

Adds a message activity from the user to the bot.

Send(IActivity)

Adds an activity from the user to the bot.

public Microsoft.Bot.Builder.Adapters.TestFlow Send (Microsoft.Bot.Schema.IActivity userActivity);
member this.Send : Microsoft.Bot.Schema.IActivity -> Microsoft.Bot.Builder.Adapters.TestFlow
Public Function Send (userActivity As IActivity) As TestFlow

Parameters

userActivity
IActivity

The activity to send.

Returns

A new TestFlow object that appends a new activity from the user to the modeled exchange.

Remarks

This method does not modify the original TestFlow object.

Applies to

Send(String)

Adds a message activity from the user to the bot.

public Microsoft.Bot.Builder.Adapters.TestFlow Send (string userSays);
member this.Send : string -> Microsoft.Bot.Builder.Adapters.TestFlow
Public Function Send (userSays As String) As TestFlow

Parameters

userSays
String

The text of the message to send.

Returns

A new TestFlow object that appends a new message activity from the user to the modeled exchange.

Remarks

This method does not modify the original TestFlow object.

Applies to