new_releases עדכונים: בדקו את
נתוני הגרסה כדי לגלות תכונות חדשות ועדכוני מוצרים.
SuggestionResponse
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
התשובה שנוצרה כשמשתמש מקיש על הצעה לתשובה או לפעולה.
שדות |
postbackData |
string
נתוני הדיווח החוזר על המרה (PostBack) שצוינו על ידי הסוכן כשהסוכן שלח את ההצעה למשתמש.
|
text |
string
הטקסט הגלוי למשתמש של ההצעה שעליה המשתמש הקיש.
|
type |
enum (SuggestionResponse.SuggestionType )
סוג ההצעה שעליה הגבת.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\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. |"]]