DialogEventType
Enums |
TYPE_UNSPECIFIED |
Default value. Unspecified. |
REQUEST_DIALOG |
A user opens a dialog. |
SUBMIT_DIALOG |
A user clicks an interactive element of a dialog. For example, a user fills out information in a dialog and clicks a button to submit the information. |
CANCEL_DIALOG |
A user closes a dialog without submitting information. The Chat app only receives this interaction event when users click the close icon in the top right corner of the dialog. When the user closes the dialog by other means (such as refreshing the browser, clicking outside the dialog box, or pressing the escape key), no event is sent. . |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[null,null,["Last updated 2024-11-14 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)."]]],[]]