DialogEventType
טיפוסים בני מנייה (enum) |
TYPE_UNSPECIFIED |
ערך ברירת המחדל. לא צוין. |
REQUEST_DIALOG |
המשתמש פותח תיבת דו-שיח. |
SUBMIT_DIALOG |
משתמש לוחץ על אלמנט אינטראקטיבי של תיבת דו-שיח. לדוגמה, משתמש ממלא פרטים בתיבת דו-שיח ולוחץ על לחצן כדי לשלוח את הפרטים. |
CANCEL_DIALOG |
משתמש סוגר תיבת דו-שיח בלי לשלוח מידע. אפליקציית Chat מקבלת את אירוע האינטראקציה הזה רק כשמשתמשים לוחצים על סמל הסגירה בפינה השמאלית העליונה של תיבת הדו-שיח. כשהמשתמש סוגר את תיבת הדו-שיח באמצעים אחרים (כגון רענון הדפדפן, לחיצה מחוץ לתיבת הדו-שיח או הקשה על מקש Escape), לא נשלח אף אירוע. . |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-10-17 (שעון UTC).
[null,null,["עדכון אחרון: 2024-10-17 (שעון UTC)."],[[["`CARD_CLICKED` and `MESSAGE` events provide insights into user interactions with dialogs in Google Chat apps."],["These events utilize specific enums like `REQUEST_DIALOG`, `SUBMIT_DIALOG`, and `CANCEL_DIALOG` to indicate user actions within the dialog."],["`REQUEST_DIALOG` signifies opening a dialog, `SUBMIT_DIALOG` represents submitting information, and `CANCEL_DIALOG` denotes closing without submission."],["The `CANCEL_DIALOG` event is only triggered when the user explicitly closes the dialog using the close icon, not through other methods like refreshing or clicking outside."],["For further information on Google Chat app interactions, refer to the provided documentation link: [Receive and respond to interactions with your Google Chat app](https://developers.google.com/workspace/chat/read-form-data)."]]],[]]