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

訊息的專屬 ID。

name

string

訊息名稱,由 Business Messages 設定。解析為「conversations/{conversationId}/messages/{messageId}」,其中 {conversationId} 是對話的專屬 ID,{messageId} 則是訊息的專屬 ID。

createTime

string (Timestamp format)

使用者傳送訊息的時間。

RFC3339 世界標準時間「Zulu」的時間戳記格式,解析度為奈秒,且最多 9 個小數位數。範例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

聯集欄位 content。訊息的內容。content 只能是下列其中一項:
text

string

純文字訊息內容。