MessageExtensions<TState>.OnQueryUrlSetting 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.Teams.AI.Application<TState> OnQueryUrlSetting(Microsoft.Teams.AI.QueryUrlSettingHandlerAsync<TState> handler);
member this.OnQueryUrlSetting : Microsoft.Teams.AI.QueryUrlSettingHandlerAsync<'State (requires 'State :> Microsoft.Teams.AI.State.TurnState and 'State : (new : unit -> 'State))> -> Microsoft.Teams.AI.Application<'State (requires 'State :> Microsoft.Teams.AI.State.TurnState and 'State : (new : unit -> 'State))>
Public Function OnQueryUrlSetting (handler As QueryUrlSettingHandlerAsync(Of TState)) As Application(Of TState)
Parameters
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.