Jaa


TeamsActivityHandler.OnTeamsMessagingExtensionConfigurationSettingAsync Method

Definition

Override this in a derived class to provide logic for when a configuration is set for a messaging extension.

protected virtual System.Threading.Tasks.Task OnTeamsMessagingExtensionConfigurationSettingAsync (Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> turnContext, Newtonsoft.Json.Linq.JObject settings, System.Threading.CancellationToken cancellationToken);
abstract member OnTeamsMessagingExtensionConfigurationSettingAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Newtonsoft.Json.Linq.JObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnTeamsMessagingExtensionConfigurationSettingAsync : Microsoft.Bot.Builder.ITurnContext<Microsoft.Bot.Schema.IInvokeActivity> * Newtonsoft.Json.Linq.JObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overridable Function OnTeamsMessagingExtensionConfigurationSettingAsync (turnContext As ITurnContext(Of IInvokeActivity), settings As JObject, cancellationToken As CancellationToken) As Task

Parameters

turnContext
ITurnContext<IInvokeActivity>

A strongly-typed context object for this turn.

settings
Newtonsoft.Json.Linq.JObject

Object representing the configuration settings.

cancellationToken
CancellationToken

A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns

A task that represents the work queued to execute.

Applies to