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)(即“祖鲁时”)格式,分辨率为纳秒级,最多包含九个小数位。示例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

surveyQuestionId

string

问题的唯一标识符。

questionResponseText

string

用户点按为问题回复的文本。

questionResponsePostbackData

string

用户点按的问题回复的回传数据

questionType

enum (SurveyQuestionType)

问题的类型。

questionIndex

integer

调查问卷中问题的索引。

totalQuestionCount

integer

调查问卷中的问题总数。

surveyTriggerSource

enum (SurveyTriggerSource)

调查问卷的触发来源。