Application<TState>.OnConfigSubmit Method

Definition

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.

Applies to