DialogEventType
Enums |
---|
TYPE_UNSPECIFIED | مقدار پیش فرض نامشخص |
REQUEST_DIALOG | یک کاربر یک گفتگو را باز می کند. |
SUBMIT_DIALOG | کاربر روی عنصر تعاملی یک گفتگو کلیک می کند. به عنوان مثال، یک کاربر اطلاعات را در یک گفتگو پر می کند و برای ارسال اطلاعات روی دکمه ای کلیک می کند. |
CANCEL_DIALOG | کاربر یک گفتگو را بدون ارسال اطلاعات می بندد. برنامه چت تنها زمانی این رویداد تعامل را دریافت میکند که کاربران روی نماد بستن در گوشه سمت راست بالای کادر گفتگو کلیک کنند. هنگامی که کاربر گفتگو را با روش های دیگر می بندد (مانند بازخوانی مرورگر، کلیک کردن در خارج از کادر گفتگو یا فشار دادن کلید فرار)، هیچ رویدادی ارسال نمی شود. . |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-31 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-31 بهوقت ساعت هماهنگ جهانی."],[[["`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"]]