Jaa


BotCallbackHandler Delegate

Definition

The callback delegate for application code.

public delegate System.Threading.Tasks.Task BotCallbackHandler(ITurnContext turnContext, CancellationToken cancellationToken);
type BotCallbackHandler = delegate of ITurnContext * CancellationToken -> Task
Public Delegate Function BotCallbackHandler(turnContext As ITurnContext, cancellationToken As CancellationToken) As Task 

Parameters

turnContext
ITurnContext

The turn context.

cancellationToken
CancellationToken

The task cancellation token.

Return Value

A Task representing the asynchronous operation.

Applies to