DialogEventType
Enum |
TYPE_UNSPECIFIED |
Giá trị mặc định. Không xác định. |
REQUEST_DIALOG |
Người dùng mở một hộp thoại. |
SUBMIT_DIALOG |
Người dùng nhấp vào một thành phần tương tác của hộp thoại. Ví dụ: người dùng điền thông tin vào hộp thoại rồi nhấp vào nút để gửi thông tin. |
CANCEL_DIALOG |
Người dùng đóng hộp thoại mà không gửi thông tin. Ứng dụng Chat chỉ nhận được sự kiện tương tác này khi người dùng nhấp vào biểu tượng đóng ở góc trên cùng bên phải của hộp thoại. Khi người dùng đóng hộp thoại bằng cách khác (chẳng hạn như làm mới trình duyệt, nhấp vào bên ngoài hộp thoại hoặc nhấn phím Escape), không sự kiện nào được gửi. . |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-10-17 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-10-17 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"]]