Updates: Check the release notes for new features and product updates.

SuggestionResponse

A response initiated when a user taps a suggestion.

JSON representation
{
  "message": string,
  "postbackData": string,
  "createTime": string,
  "text": string,
  "type": enum (SuggestionType)
}
Fields
message

string

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

string

The base64-encoded payload that the agent receives when a user taps the suggestion.

createTime

string (Timestamp format)

The time that user tapped the suggestion.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

text

string

The user-visible text of the suggestion that the user tapped.

type

enum (SuggestionType)

The type of suggestion that the user tapped.