פיתוח אפליקציה אינטראקטיבית ל-Google Chat
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
בדף הזה מוסבר על המסגרות שבהן אפשר להשתמש כדי ליצור אפליקציה אינטראקטיבית ל-Google Chat.
אפליקציות צ'אט אינטראקטיביות מאפשרות למשתמשים לבצע את הפעולות הבאות:
- איך מוסיפים אפליקציות ל-Chat למרחבים או לשיחות ישירות.
- שליחת הודעות לאפליקציות Chat או קבלת הודעות מהן.
- מזינים פקודה לאפליקציות של Chat.
- תצוגה מקדימה של קישורים משירות או ממערכת חיצוניים.
- שליחת מידע לאפליקציות ל-Chat, למשל הזנת טקסט בתיבת דו-שיח או בהודעה בכרטיס.
איך המשתמשים מגלים אפליקציות אינטראקטיביות ל-Chat ומשתמשים בהן
המשתמשים יכולים לגלות ולהשתמש באפליקציות ל-Chat שפורסמו ב-Marketplace בדרכים רבות, כולל:
- אתם יכולים לחפש ולהתקין אפליקציות ל-Chat מ-Google Chat או מ-Marketplace.
- איך משתמשים באפליקציה ל-Chat שנוספה למרחב ב-Chat.
- אחרי שאדמין ב-Google Workspace מתקין את אפליקציית Chat בשמם, הם יכולים לראות אותה בחלונית הצ'אטים הישירים שלהם.
כדי להתחיל להשתמש באפליקציית Chat, משתמשי Google Chat יכולים להתחיל צ'אט ישיר עם אפליקציית Chat או להוסיף אותה למרחב. המשתמשים יכולים גם להוסיף את אפליקציית Chat על ידי תיוג שלה באמצעות @. מידע נוסף מפורט במאמר שימוש באפליקציות ב-Chat.
בדוגמה הבאה אפשר לראות איך משתמש מתייג אפליקציית Chat כדי להוסיף אותה למרחב:

בחירת מסגרת לאפליקציית Chat אינטראקטיבית
כדי ליצור אפליקציית Chat שמקיימת אינטראקציה עם משתמשים, אפשר לבחור בין המסגרות הבאות:
- תוסף ל-Google Workspace: מאפשר להרחיב אפליקציות אחרות של Google Workspace ולפרסם את אפליקציית Chat עם סוגים אחרים של אפליקציות ב-Google Workspace Marketplace.
מידע נוסף זמין במאמר בנושא הרחבת Google Chat במסמכי התיעוד של תוספי Google Workspace.
- אירוע אינטראקציה עם Chat API: מאפשר לכם לבנות תכונות נוספות, כמו דף הבית של אפליקציית Chat, ולהשתמש בארכיטקטורות אחרות כמו Pub/Sub ו-Dialogflow CX. מידע נוסף זמין במאמר בנושא קבלת אירועי אינטראקציה ומענה להם.
בטבלה הבאה מוצגת תיעוד של הגדרת אפליקציית Chat אינטראקטיבית בסיסית ויצירתה לכל ארכיטקטורת אפליקציית Google Chat:
יצירת תכונות אינטראקטיביות
בטבלה הבאה מוצגת, לכל מסגרת, תיעוד בנושא פיתוח תכונות אינטראקטיביות:
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-08 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-08 (שעון UTC)."],[],[],null,["# Build an interactive Google Chat app\n\nThis page provides an overview of the frameworks that you can use to build an\ninteractive Google Chat app. \n\nInteractive Chat apps let users do any of the following:\n\n- Add Chat apps to Chat spaces or direct messages.\n- Send messages to or receive messages from Chat apps.\n- Prompt Chat apps with a command.\n- Preview links from an external service or system.\n- Submit information to Chat apps, such as entering text into a dialog or card message.\n\nHow users discover and use interactive Chat apps\n------------------------------------------------\n\nUsers can discover and use Chat apps published to the\nMarketplace in many ways, including the following:\n\n- Search and install Chat apps from Google Chat or the Marketplace.\n- Interact with a Chat app that's been added to a Chat space.\n- Discover the Chat app in their direct messages panel after a Google Workspace administrator installed the Chat app on their behalf.\n\nTo start using a Chat app, Google Chat users can\nstart a direct message with the Chat app or add it to a\nspace. Users can also add the Chat app by @mentioning\nit. For more information, see\n[Use Chat apps](https://support.google.com/chat/answer/7655820).\n\nThe following example shows how a user @mentions a\nChat app to add it to a space:\n\nChoose a framework for your interactive Chat app\n------------------------------------------------\n\nTo build a Chat app that interacts with users, you\ncan choose between the following frameworks:\n\n- **Google Workspace add-on** : Lets you extend other Google Workspace applications and list your Chat app with other types of apps on the Google Workspace Marketplace. To learn more, see [Extend Google Chat](/workspace/add-ons/chat) in the Google Workspace add-on documentation.\n- **Chat API interaction event** : Lets you build additional features such as a [Chat app homepage](/workspace/chat/send-app-home-card-message) and use other architectures such as Pub/Sub and Dialogflow CX. To learn more, see [Receive and respond to interaction events](/workspace/chat/receive-respond-interactions).\n\n### Configure an interactive Chat app\n\nFor each framework, the following table shows the documentation for configuring\nand creating a basic interactive Chat app for each\n[Google Chat app architecture](/workspace/chat/structure):\n\n| Configuration | Add-on | Chat API interaction events |\n|------------------------|-----------------------------------------------------------------|-----------------------------------------------------------------------------|---|\n| Configure the Chat API | [Documentation](/workspace/add-ons/chat/configure) | [Documentation](/workspace/chat/configure-chat-api) |\n| **Quickstarts** | |||\n| Apps Script | [Documentation](/workspace/add-ons/chat/quickstart-apps-script) | [Documentation](/workspace/chat/quickstart/apps-script-app) |\n| HTTP service | [Documentation](/workspace/add-ons/chat/quickstart-http) | [Documentation](/workspace/chat/quickstart/gcf-app) |\n| Dialogflow CX | Unavailable for add-ons. | [Documentation](/workspace/chat/build-dialogflow-chat-app-natural-language) |\n| Pub/Sub | Unavailable for add-ons. | [Documentation](/workspace/chat/quickstart/pub-sub) |\n\n### Build interactive features\n\nFor each framework, the following table shows the documentation for\nbuilding interactive features:\n\n| Feature | Add-on | Chat API interaction events |\n|---------------------------------------|------------------------------------------------------------------------|-------------------------------------------------------------|\n| Send messages | [Documentation](/workspace/add-ons/chat/send-messages) | |\n| Respond to commands | [Documentation](/workspace/add-ons/chat/commands) | [Documentation](/workspace/chat/commands) |\n| Build interactive dialogs | [Documentation](/workspace/add-ons/chat/dialogs) | [Documentation](/workspace/chat/dialogs) |\n| Collect and process information | [Documentation](/workspace/add-ons/chat/collect-information) | [Documentation](/workspace/chat/read-form-data) |\n| Preview links in Chat messages | [Documentation](/workspace/add-ons/chat/preview-links) | [Documentation](/workspace/chat/preview-links) |\n| Build a homepage for your Chat app | Unavailable for add-ons. | [Documentation](/workspace/chat/send-app-home-card-message) |\n| Connect to external systems and tools | [Documentation](/workspace/add-ons/guides/connect-third-party-service) | [Documentation](/workspace/chat/connect-web-services-tools) |\n\nRelated topics\n--------------\n\n- [Build a Google Chat app as a Google Workspace add-on](/workspace/add-ons/chat)\n- [Receive and respond to interaction events](/workspace/chat/receive-respond-interactions)\n- [Choose a Google Chat app architecture](/workspace/chat/structure)"]]