new_releases 更新:查看
版本说明,了解新功能和产品动态。
SuggestionResponse
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]