Freigeben über


MessageExtension.OnQueryUrlSetting(QueryUrlSettingHandlerAsync) Method

Definition

Registers a handler that invokes the fetch of the configuration settings for a Message Extension.

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

Parameters

handler
QueryUrlSettingHandlerAsync

Function to call when the event is triggered.

Returns

The application instance for chaining purposes.

Remarks

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

Applies to