DialogEventType
Enum |
TYPE_UNSPECIFIED |
ค่าเริ่มต้น ไม่ระบุ |
REQUEST_DIALOG |
ผู้ใช้เปิดกล่องโต้ตอบ |
SUBMIT_DIALOG |
ผู้ใช้คลิกองค์ประกอบแบบอินเทอร์แอกทีฟของกล่องโต้ตอบ เช่น ผู้ใช้กรอกข้อมูลในกล่องโต้ตอบและคลิกปุ่มเพื่อส่งข้อมูล |
CANCEL_DIALOG |
ผู้ใช้ปิดกล่องโต้ตอบโดยไม่ส่งข้อมูล แอป Chat จะได้รับเหตุการณ์การโต้ตอบนี้เฉพาะเมื่อผู้ใช้คลิกไอคอนปิดที่มุมขวาบนของกล่องโต้ตอบ เมื่อผู้ใช้ปิดกล่องโต้ตอบด้วยวิธีอื่น (เช่น การรีเฟรชเบราว์เซอร์ การคลิกนอกกล่องโต้ตอบ หรือการกดแป้น Escape) ระบบจะไม่ส่งเหตุการณ์ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-05-30 UTC
[null,null,["อัปเดตล่าสุด 2025-05-30 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)."]]],["The core content defines interaction event types related to dialogs within Google Chat apps. `REQUEST_DIALOG` signifies a user opening a dialog. `SUBMIT_DIALOG` indicates a user submitting information within a dialog. `CANCEL_DIALOG` represents a user closing a dialog via the close icon without submitting data. These events are triggered by `CARD_CLICKED` and `MESSAGE` actions, providing data about user interactions with dialogs. `TYPE_UNSPECIFIED` is a default value.\n"]]