Compartir a través de


AgentNotificationHandler type

Definición de tipo para una función del controlador de notificaciones del agente. Controla las actividades de notificación del agente con datos de notificación fuertemente tipados.

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