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 UTC 的「Zulu」格式時間戳記,單位為奈秒解析度,最多可達九位數。範例:"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)

問卷調查的觸發來源。