MessageExtension.OnQueryUrlSetting(QueryUrlSettingHandlerAsync) 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.
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.