M365CopilotAgent Interface (חומר עזר עבור API של לקוח)

מתאר את רשימת Microsoft 365 הפעילה כעת סוכן Copilot - המוחזרת על-ידי getCurrentAgent.

מאפיינים

Name סוג תיאור
agentId string \| null המזהה הייחודי של הסוכן הפעיל, או null אם המשתמש נמצא על קו Microsoft 365 Copilot.
mode M365CopilotAgentMode\| null כיצד מתבצעת הפניה לסוכן, או null כאשר שום סוכן אינו פעיל.

הערות

agentId ועבודה mode משותפת:

  • agentId = string, mode = "agentPage" או "mentioned": סוכן פעיל.
  • agentId = null, mode = null: המשתמש נמצא באופן מפורש ב- Microsoft 365 Copilot.

מאמר קשור

getCurrentAgent method
ממשק M365CopilotAgentMode