Google Business Messages 功能將於 2024 年 7 月 31 日終止服務。請按
這裡瞭解詳情。
SurveyResponse
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"survey": string,
"rating": enum (SurveyRating ),
"feedback": string,
"createTime": string,
"surveyQuestionId": string,
"questionResponseText": string,
"questionResponsePostbackData": string,
"questionType": enum (SurveyQuestionType ),
"questionIndex": integer,
"totalQuestionCount": integer,
"surveyTriggerSource": enum (SurveyTriggerSource )
} |
欄位 |
survey |
string
傳送給使用者的問卷調查。解析為「conversations/{conversationId}/surveys/{surveyId}」,其中 {conversationId} 是對話的專屬 ID,{surveyId} 則是問卷調查的專屬 ID。
|
rating |
enum (SurveyRating )
使用者的評分。
|
feedback |
string
使用者提供的文字意見回饋。 選填。
|
createTime |
string (Timestamp format)
問卷調查的回應時間。 RFC3339 世界標準時間「Zulu」的時間戳記格式,解析度不超過奈秒,最多 9 個小數位數。範例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
surveyQuestionId |
string
問題的專屬 ID。
|
questionResponseText |
string
使用者輕觸為問題回覆的文字。
|
questionResponsePostbackData |
string
使用者輕觸的問題回應的回傳資料
|
questionType |
enum (SurveyQuestionType )
問題類型。
|
questionIndex |
integer
問卷調查中題目的索引。
|
totalQuestionCount |
integer
問卷調查中的問題總數。
|
surveyTriggerSource |
enum (SurveyTriggerSource )
問卷調查的觸發來源。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-09 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-09-09 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-09-09 (世界標準時間)。"]]