Condividi tramite


MessageExtension.OnConfigureSettings(ConfigureSettingsHandler) Method

Definition

Registers a handler that implements the logic to invoke configuring Message Extension settings.

public Microsoft.Agents.Builder.App.AgentApplication OnConfigureSettings(Microsoft.Agents.Extensions.Teams.App.MessageExtensions.ConfigureSettingsHandler handler);
member this.OnConfigureSettings : Microsoft.Agents.Extensions.Teams.App.MessageExtensions.ConfigureSettingsHandler -> Microsoft.Agents.Builder.App.AgentApplication
Public Function OnConfigureSettings (handler As ConfigureSettingsHandler) As AgentApplication

Parameters

handler
ConfigureSettingsHandler

Function to call when the event is triggered.

Returns

The application instance for chaining purposes.

Remarks

The composeExtension/setting INVOKE activity does not contain a command ID, so only a single select item handler can be registered.

Applies to