DialogEventType
枚举 |
TYPE_UNSPECIFIED |
默认值。未指定。 |
REQUEST_DIALOG |
用户打开一个对话框。 |
SUBMIT_DIALOG |
用户点击对话框的互动元素。例如,用户在对话框中填写信息,然后点击按钮提交信息。 |
CANCEL_DIALOG |
用户关闭了对话框,但未提交信息。只有当用户点击对话框右上角的关闭图标时,Chat 应用才会收到此互动事件。当用户通过其他方式(例如刷新浏览器、在对话框外点击一下或按 Esc 键)关闭对话框时,系统不会发送任何事件。. |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-17。
[null,null,["最后更新时间 (UTC):2024-10-17。"],[[["`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)."]]],[]]