Message

תוכן ההודעה שנשלחה ממשתמש לסוכן.

ייצוג JSON
{
  "messageId": string,
  "name": string,
  "createTime": string,

  // Union field content can be only one of the following:
  "text": string
  // End of list of possible types for union field content.
}
שדות
messageId

string

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

name

string

שם ההודעה, כפי שהוגדר על ידי Business Messages. מסתיימת ב-"conversation/{conversationId}/messages/{messageId}", כאשר {conversationId} הוא המזהה הייחודי של השיחה ו-{messageId} הוא המזהה הייחודי של ההודעה.

createTime

string (Timestamp format)

השעה שבה המשתמש שלח את ההודעה.

חותמת זמן בפורמט "Zulu" של RFC3339 UTC, עם רזולוציית ננו-שניות ועד תשע ספרות עשרוניות. דוגמאות: "2014-10-02T15:01:23Z" ו-"2014-10-02T15:01:23.045123456Z"

שדה איחוד content. תוכן ההודעה. content יכול להיות רק אחד מהבאים:
text

string

תוכן של הודעות טקסט פשוט.