ConversationStarters

Suggested replies shown to users when they enter a conversation with the agent for the first time.

JSON representation
{
  "suggestion": {
    object (Suggestion)
  }
}
Fields
suggestion

object (Suggestion)

Optional. Suggestion at the beginning of a conversation.

Suggestion

A suggested reply.

JSON representation
{

  // Union field option can be only one of the following:
  "reply": {
    object (SuggestedReply)
  },
  "action": {
    object (SuggestedAction)
  }
  // End of list of possible types for union field option.
}
Fields
Union field option. A suggested reply. option can be only one of the following:
reply

object (SuggestedReply)

Users can tap a suggested reply to send the text back to the agent as a reply.

action

object (SuggestedAction)

A suggested action that initiates a native action on the device.

SuggestedReply

When tapped, sends the text reply back to the agent.

JSON representation
{
  "text": string,
  "postbackData": string
}
Fields
text

string

Required. Text that is shown in the suggested reply and sent back to the agent when the user taps it. Maximum 35 characters.

postbackData

string

Optional. The string the agent receives when the user taps the suggested reply.

SuggestedAction

When tapped, initiates the corresponding native action on the device.

JSON representation
{
  "text": string,
  "postbackData": string,

  // Union field action can be only one of the following:
  "openUrlAction": {
    object (OpenUrlAction)
  }
  // End of list of possible types for union field action.
}
Fields
text

string

Text that is shown in the suggested action. Maximum 35 characters.

postbackData

string

The string that the agent receives when a user taps the suggested action.

Union field action. The native action initiated on the device when the user taps the suggested action. action can be only one of the following:
openUrlAction

object (OpenUrlAction)

Opens the specified URL.

OpenUrlAction

Opens the specified URL.

JSON representation
{
  "url": string
}
Fields
url

string

URL