AI-generated Key Takeaways
-
SuggestionTap refers to a response triggered when a user taps a suggestion.
-
It includes fields such as the message containing the suggestion, postback data, tap time, visible text, and suggestion type.
-
The JSON representation provides a structured view of the data associated with a SuggestionTap.
A response initiated when a user taps a suggestion.
| JSON representation |
|---|
{
"message": string,
"postbackData": string,
"createTime": string,
"text": string,
"type": enum ( |
| Fields | |
|---|---|
message |
The message that contained the suggestions. Resolves to "conversations/{conversationId}/messages/{messageId}", where {conversationId} is the unique ID for the conversation and {messageId} is the unique ID for the message. |
postbackData |
The base64-encoded payload that the agent receives when a user taps the suggestion. |
createTime |
The time that user tapped the suggestion. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
text |
The user-visible text of the suggestion that the user tapped. |
type |
The type of suggestion that the user tapped. |