new_releases 更新: 新機能とサービスの更新については、
リリースノートをご覧ください。
SuggestionResponse
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
提案された返信またはアクションをユーザーがタップしたときに生成されるレスポンス。
フィールド |
postbackData |
string
エージェントがユーザーに提案を送信したときにエージェントが指定したポストバック データ。
|
text |
string
ユーザーがタップした候補のテキスト。ユーザーに表示されるテキスト。
|
type |
enum (SuggestionResponse.SuggestionType )
対応された提案のタイプ。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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. |"]]