Partager via


AgentNotificationHandler type

Définition de type pour une fonction de gestionnaire de notification d’agent. Gère les activités de notification de l’agent avec des données de notification fortement typées.

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