Application<TState>.OnConfigSubmit 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.
Handles config submit events for Microsoft Teams.
public Microsoft.Teams.AI.Application<TState> OnConfigSubmit(Microsoft.Teams.AI.ConfigHandlerAsync<TState> handler);
member this.OnConfigSubmit : Microsoft.Teams.AI.ConfigHandlerAsync<'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 OnConfigSubmit (handler As ConfigHandlerAsync(Of TState)) As Application(Of TState)
Parameters
- handler
- ConfigHandlerAsync<TState>
Function to call when the event is triggered.
Returns
The application instance for chaining purposes.