Jaa


TestAdapter.SendTextToBotAsync Method

Definition

Processes a message activity from a user.

public virtual System.Threading.Tasks.Task SendTextToBotAsync (string userSays, Microsoft.Bot.Builder.BotCallbackHandler callback, System.Threading.CancellationToken cancellationToken);
abstract member SendTextToBotAsync : string * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SendTextToBotAsync : string * Microsoft.Bot.Builder.BotCallbackHandler * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SendTextToBotAsync (userSays As String, callback As BotCallbackHandler, cancellationToken As CancellationToken) As Task

Parameters

userSays
String

The text of the user's message.

callback
BotCallbackHandler

The turn processing logic to use.

cancellationToken
CancellationToken

The cancellation token.

Returns

A task that represents the work queued to execute.

Applies to

See also