AI-generated Key Takeaways
-
Suggestion responses are generated when a user interacts with a suggested reply or action.
-
The JSON representation of a suggestion response includes
postbackData,text, andtype. -
postbackDataholds agent-specified data,textis the visible text the user tapped, andtypeindicates the suggestion's category.
The response generated when a user taps a suggested reply or action.
| JSON representation |
|---|
{
"postbackData": string,
"text": string,
"type": enum ( |
| Fields | |
|---|---|
postbackData |
The postback data specified by the agent when the agent sent the suggestion to the user. |
text |
The user-visible text of the suggestion that the user tapped. |
type |
The type of suggestion which was responded to. |