ConversationStarters

คำตอบที่แนะนำจะแสดงต่อผู้ใช้เมื่อเข้าสู่การสนทนากับตัวแทนเป็นครั้งแรก

การแสดง JSON
{
  "suggestion": {
    object (Suggestion)
  }
}
ช่อง
suggestion

object (Suggestion)

ไม่บังคับ คำแนะนำเมื่อเริ่มต้นการสนทนา

คำแนะนำ

คำตอบที่แนะนำ

การแสดง JSON
{

  // 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.
}
ช่อง
ฟิลด์การรวม option คำตอบที่แนะนำ option ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
reply

object (SuggestedReply)

ผู้ใช้สามารถแตะการตอบกลับที่แนะนำเพื่อส่งข้อความกลับไปยังตัวแทนเป็นการตอบกลับได้

action

object (SuggestedAction)

การดำเนินการที่แนะนำที่เริ่มการดำเนินการดั้งเดิมในอุปกรณ์

SuggestedReply

เมื่อแตะแล้ว ระบบจะส่งข้อความตอบกลับไปยังตัวแทน

การแสดง JSON
{
  "text": string,
  "postbackData": string
}
ช่อง
text

string

ต้องระบุ ข้อความที่แสดงในการตอบกลับที่แนะนำและส่งกลับไปยังตัวแทนเมื่อผู้ใช้แตะคำตอบ สูงสุด 35 อักขระ

postbackData

string

ไม่บังคับ สตริงที่ตัวแทนได้รับเมื่อผู้ใช้แตะการตอบกลับที่แนะนำ

SuggestedAction

เมื่อแตะ จะเป็นการเริ่มการทำงานดั้งเดิมที่เกี่ยวข้องในอุปกรณ์

การแสดง JSON
{
  "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.
}
ช่อง
text

string

ข้อความที่แสดงในการดำเนินการที่แนะนำ สูงสุด 35 อักขระ

postbackData

string

สตริงที่ตัวแทนได้รับเมื่อผู้ใช้แตะการดำเนินการที่แนะนำ

ฟิลด์การรวม action การดำเนินการแบบเนทีฟที่เริ่มต้นในอุปกรณ์เมื่อผู้ใช้แตะการดำเนินการที่แนะนำ action ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้เท่านั้น
openUrlAction

object (OpenUrlAction)

เปิด URL ที่ระบุ

OpenUrlAction

เปิด URL ที่ระบุ

การแสดง JSON
{
  "url": string
}
ช่อง
url

string

URL