MessageExtension.OnConfigureSettings(ConfigureSettingsHandler) 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 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.