DialogEventType
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Enums |
TYPE_UNSPECIFIED |
Standardwert. Nicht angegeben |
REQUEST_DIALOG |
Ein Nutzer öffnet ein Dialogfeld. |
SUBMIT_DIALOG |
Ein Nutzer klickt auf ein interaktives Element eines Dialogfelds. Ein Nutzer füllt beispielsweise Informationen in einem Dialogfeld aus und klickt auf eine Schaltfläche, um die Informationen zu senden. |
CANCEL_DIALOG |
Ein Nutzer schließt ein Dialogfeld, ohne Informationen einzureichen. Die Chat-App empfängt dieses Interaktionsereignis nur, wenn Nutzer rechts oben im Dialogfeld auf das Symbol zum Schließen klicken. Wenn der Nutzer das Dialogfeld auf andere Weise schließt (z. B. durch Aktualisieren des Browsers, Klicken auf eine Stelle außerhalb des Dialogfelds oder Drücken der Esc-Taste), wird kein Ereignis gesendet. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003e\u003ccode\u003eCARD_CLICKED\u003c/code\u003e and \u003ccode\u003eMESSAGE\u003c/code\u003e events provide insights into user interactions with dialogs in Google Chat apps.\u003c/p\u003e\n"],["\u003cp\u003eThese events utilize specific enums like \u003ccode\u003eREQUEST_DIALOG\u003c/code\u003e, \u003ccode\u003eSUBMIT_DIALOG\u003c/code\u003e, and \u003ccode\u003eCANCEL_DIALOG\u003c/code\u003e to indicate user actions within the dialog.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREQUEST_DIALOG\u003c/code\u003e signifies opening a dialog, \u003ccode\u003eSUBMIT_DIALOG\u003c/code\u003e represents submitting information, and \u003ccode\u003eCANCEL_DIALOG\u003c/code\u003e denotes closing without submission.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCANCEL_DIALOG\u003c/code\u003e event is only triggered when the user explicitly closes the dialog using the close icon, not through other methods like refreshing or clicking outside.\u003c/p\u003e\n"],["\u003cp\u003eFor further information on Google Chat app interactions, refer to the provided documentation link: \u003ca href=\"https://developers.google.com/workspace/chat/read-form-data\"\u003eReceive and respond to interactions with your Google Chat app\u003c/a\u003e.\u003c/p\u003e\n"]]],["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"],null,["# DialogEventType\n\nFor `CARD_CLICKED` and `MESSAGE` interaction events, the types of interactions with [dialogs](https://developers.google.com/workspace/chat/dialogs).\n\nTo learn more about Google Chat app interaction events, see [Receive and respond to interactions with your Google Chat app](https://developers.google.com/workspace/chat/read-form-data).\n\n| Enums ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `TYPE_UNSPECIFIED` | Default value. Unspecified. |\n| `REQUEST_DIALOG` | A user opens a dialog. |\n| `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. |\n| `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. |"]]