AgentNotificationHandler type

הגדרת סוג עבור פונקציית מטפל בהודעות סוכן. טיפול בפעילויות של הודעות סוכן עם נתוני הודעות שהוקלידו בצורה חזקה.

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