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

הסקר שנשלח למשתמש. מעבר אל "conversation//conversationId}/surveys/{surveyId}" כאשר {conversationId} הוא המזהה הייחודי של השיחה, ו-{surveyId} הוא המזהה הייחודי של הסקר.

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

המזהה הייחודי של השאלה.

questionResponseText

string

הטקסט שהמשתמש הקיש על התשובה כשאלה.

questionResponsePostbackData

string

נתוני השליחה בחזרה (postback) של תגובת השאלה שהמשתמש הקיש

questionType

enum (SurveyQuestionType)

סוג השאלה.

questionIndex

integer

האינדקס של השאלה בסקר.

totalQuestionCount

integer

מספר השאלות הכולל בסקר.

surveyTriggerSource

enum (SurveyTriggerSource)

הגורם שמפעיל את הסקר.