new_releases بهروزرسانیها :
یادداشتهای انتشار را برای ویژگیهای جدید و بهروزرسانیهای محصول بررسی کنید.
SuggestionResponse
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پاسخی که وقتی کاربر روی یک پاسخ یا اقدام پیشنهادی ضربه میزند، ایجاد میشود.
فیلدها |
---|
postbackData | string دادههای پسبازگشتی که توسط نماینده در هنگام ارسال پیشنهاد به کاربر مشخص شده است. |
text | string متن پیشنهادی قابل مشاهده برای کاربر که کاربر روی آن ضربه زده است. |
type | enum ( SuggestionResponse.SuggestionType ) نوع پیشنهادی که به آن پاسخ داده شد. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe response is generated when a user interacts with a suggested reply or action.\u003c/p\u003e\n"],["\u003cp\u003eThe response's JSON representation includes \u003ccode\u003epostbackData\u003c/code\u003e, \u003ccode\u003etext\u003c/code\u003e, and \u003ccode\u003etype\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epostbackData\u003c/code\u003e represents the data the agent specified when sending the suggestion.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etext\u003c/code\u003e is the visible text of the tapped suggestion.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003etype\u003c/code\u003e identifies the type of suggestion that the user responded to.\u003c/p\u003e\n"]]],[],null,["# SuggestionResponse\n\nThe response generated when a user taps a suggested reply or action.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"postbackData\": string, \"text\": string, \"type\": enum (/business-communications/rcs-business-messaging/reference/rest/v1/SuggestionResponse.SuggestionType) } ``` |\n\n| Fields ||\n|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `postbackData` | `string` The postback data specified by the agent when the agent sent the suggestion to the user. |\n| `text` | `string` The user-visible text of the suggestion that the user tapped. |\n| `type` | `enum (`[SuggestionResponse.SuggestionType](/business-communications/rcs-business-messaging/reference/rest/v1/SuggestionResponse.SuggestionType)`)` The type of suggestion which was responded to. |"]]