new_releases Aggiornamenti: controlla le
note di rilascio per conoscere le nuove funzionalità e gli aggiornamenti del prodotto.
SuggestionResponse
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
La risposta generata quando un utente tocca una risposta o un'azione suggerita.
Campi |
postbackData |
string
I dati postback specificati dall'agente quando quest'ultimo ha inviato il suggerimento all'utente.
|
text |
string
Il testo visibile all'utente del suggerimento che l'utente ha toccato.
|
type |
enum (SuggestionResponse.SuggestionType )
Il tipo di suggerimento a cui è stato risposto.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]