- การแสดง JSON
- SimpleSelect
- รายการ
- ListSelect
- ListItem
- CarouselSelect
- CarouselItem
- CollectionSelect
- CollectionItem
ขอให้ผู้ใช้เลือกตัวเลือกใดตัวเลือกหนึ่ง
การแสดง JSON | |
---|---|
{ // Union field |
ช่อง | ||
---|---|---|
ช่องการรวม select ประเภทของตัวเลือกที่แสดงแก่ผู้ใช้ select ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
||
simpleSelect |
การเลือกแบบง่ายๆ โดยไม่มี GUI ที่เกี่ยวข้อง |
|
listSelect |
เลือกด้วย GUI แบบการ์ดรายการ |
|
carouselSelect |
การเลือกที่มี GUI แบบภาพสไลด์ของการ์ด ให้ใช้ collectionsSelect แทน |
|
collectionSelect |
เลือกที่มี GUI คอลเล็กชันการ์ด |
SimpleSelect
การเลือกแบบง่ายๆ โดยไม่มี GUI ที่เกี่ยวข้อง โปรดอัปเดต assistant.logs.actions.SimpleSelect เพื่อแสดงการเปลี่ยนแปลงที่เกิดขึ้น
การแสดง JSON | |
---|---|
{
"items": [
{
object ( |
ช่อง | |
---|---|
items[] |
รายการที่ผู้ใช้ควรเลือก |
รายการ
รายการสำหรับการเลือก
การแสดง JSON | |
---|---|
{
"optionInfo": {
object ( |
ช่อง | |
---|---|
optionInfo |
คีย์รายการและคำพ้องความหมาย |
title |
ชื่อของสินค้า ซึ่งจะทำหน้าที่เป็นคำพ้องความหมายหากมีการระบุไว้ ไม่บังคับ |
ListSelect
การ์ดสำหรับแสดงรายการตัวเลือกที่มีให้เลือก
การแสดง JSON | |
---|---|
{
"title": string,
"subtitle": string,
"items": [
{
object ( |
ช่อง | |
---|---|
title |
ชื่อโดยรวมของรายการ ไม่บังคับ |
subtitle |
คำบรรยายของรายการ ไม่บังคับ |
items[] |
ต่ำสุด: 2 สูงสุด: 30 |
ListItem
รายการข้อมูลในรายการ
การแสดง JSON | |
---|---|
{ "optionInfo": { object ( |
ช่อง | |
---|---|
optionInfo |
ข้อมูลเกี่ยวกับตัวเลือกนี้ ดูรายละเอียดได้ที่ |
title |
ชื่อของรายการ เมื่อแตะ ข้อความนี้จะโพสต์กลับไปที่การสนทนาแบบคำต่อคำราวกับว่าผู้ใช้ได้พิมพ์ลงไป แต่ละชื่อต้องไม่ซ้ำกันในชุดรายการ ต้องระบุ |
description |
ข้อความหลักที่อธิบายรายการ ไม่บังคับ |
image |
รูปภาพสี่เหลี่ยมจัตุรัส ไม่บังคับ |
CarouselSelect
การ์ดสำหรับนำเสนอภาพสไลด์ของตัวเลือก
การแสดง JSON | |
---|---|
{ "title": string, "subtitle": string, "items": [ { object ( |
ช่อง | |
---|---|
title |
ของภาพสไลด์ ไม่บังคับ |
subtitle |
คำบรรยายของภาพสไลด์ ไม่บังคับ |
items[] |
ต่ำสุด: 2 สูงสุด: 10 |
imageDisplayOptions |
ประเภทการแสดงรูปภาพ ไม่บังคับ |
CarouselItem
รายการในภาพสไลด์
การแสดง JSON | |
---|---|
{ "optionInfo": { object ( |
ช่อง | |
---|---|
optionInfo |
ดูรายละเอียดได้ที่ |
title |
ชื่อของรายการภาพสไลด์ เมื่อแตะ ข้อความนี้จะโพสต์กลับไปที่การสนทนาแบบคำต่อคำราวกับว่าผู้ใช้ได้พิมพ์ลงไป ชื่อแต่ละชื่อต้องไม่ซ้ำกันในชุดรายการภาพสไลด์ ต้องระบุ |
description |
ข้อความเนื้อหาของการ์ด |
image |
ไม่บังคับ |
CollectionSelect
การ์ดสำหรับนำเสนอชุดตัวเลือกให้เลือก
การแสดง JSON | |
---|---|
{ "title": string, "subtitle": string, "items": [ { object ( |
ช่อง | |
---|---|
title |
ของคอลเล็กชัน ไม่บังคับ |
subtitle |
คำบรรยายของคอลเล็กชัน ไม่บังคับ |
items[] |
ต่ำสุด: 2 สูงสุด: 10 |
imageDisplayOptions |
ประเภทการแสดงรูปภาพ ไม่บังคับ |
CollectionItem
รายการในคอลเล็กชัน
การแสดง JSON | |
---|---|
{ "optionInfo": { object ( |
ช่อง | |
---|---|
optionInfo |
ดูรายละเอียดได้ที่ |
title |
ชื่อของรายการคอลเล็กชัน เมื่อแตะ ข้อความนี้จะโพสต์กลับไปที่การสนทนาแบบคำต่อคำราวกับว่าผู้ใช้ได้พิมพ์ลงไป แต่ละชื่อต้องไม่ซ้ำกันในชุดรายการคอลเล็กชัน ต้องระบุ |
description |
ข้อความเนื้อหาของการ์ด |
image |
ไม่บังคับ |