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