DialogEventType
列舉 |
TYPE_UNSPECIFIED |
預設值。未指明 |
REQUEST_DIALOG |
使用者開啟對話方塊。 |
SUBMIT_DIALOG |
使用者點選對話方塊中的互動式元素。舉例來說,使用者在對話方塊中填寫資訊,然後按一下按鈕提交資訊。 |
CANCEL_DIALOG |
使用者關閉對話方塊,但未提交資訊。只有在使用者按下對話方塊右上角的關閉圖示時,Chat 應用程式才會收到這項互動事件。如果使用者透過其他方式關閉對話方塊 (例如重新整理瀏覽器、點選對話方塊外側或按下 Escape 鍵),系統就不會傳送事件。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-05-30 (世界標準時間)。
[null,null,["上次更新時間:2025-05-30 (世界標準時間)。"],[[["`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"]]