TestAdapter.SendTextToBotAsync 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.
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.