Share via


AgentNotificationHandler type

Type definition for an agent notification handler function. Handles agent notification activities with strongly-typed notification data.

type AgentNotificationHandler<TState> = (
  turnContext: TurnContext,
  turnState: TState,
  agentNotificationActivity: AgentNotificationActivity
) => Promise<void>