DialogEventType
列挙型 |
TYPE_UNSPECIFIED |
デフォルト値。(指定なし) |
REQUEST_DIALOG |
ユーザーがダイアログを開きます。 |
SUBMIT_DIALOG |
ユーザーがダイアログのインタラクティブな要素をクリックします。たとえば、ユーザーがダイアログで情報を入力し、ボタンをクリックして情報を送信した場合です。 |
CANCEL_DIALOG |
ユーザーが情報を送信せずにダイアログを閉じます。Chat アプリは、ユーザーがダイアログの右上にある閉じるアイコンをクリックした場合にのみ、このインタラクション イベントを受け取ります。ユーザーが他の方法(ブラウザの更新、ダイアログ ボックスの外側のクリック、Esc キーの押下など)でダイアログを閉じると、イベントは送信されません。. |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-10-17 UTC。
[null,null,["最終更新日 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"]]