與訊息相關的內容比對資料。
JSON 表示法 |
---|
{ "entryPoint": enum ( |
欄位 | |
---|---|
entryPoint |
使用者點按的進入點。 |
userInfo |
撰寫郵件的使用者身分。 |
widget |
用來啟動對話的小工具相關資訊。 |
resolvedLocale |
已解析的語言代碼。根據位置、可能的語言偏好和其他因素,比對使用者和支援的代理程式語言代碼。語言代碼值是格式正確的 IETF BCP 47 語言標記。 |
customContext |
合作夥伴指定的背景資訊。 |
聯集欄位 place 。可以設定 placeId 或 nearPlaceId。place 只能是下列其中一項: |
|
placeId |
地點的地點 ID,也就是 Google Places 中使用的專屬 ID。 |
nearPlaceId |
距離使用者的地點 ID (也就是 Google Places 中所使用的專屬 ID)。 |
UserInfo
與訊息相關聯的使用者身分資料。
JSON 表示法 |
---|
{ "displayName": string, "userDeviceLocale": string } |
欄位 | |
---|---|
displayName |
使用者的顯示名稱。 |
userDeviceLocale |
使用者的語言代碼。取決於裝置的語言設定。 |
小工具
與訊息相關聯的小工具資訊。
JSON 表示法 |
---|
{ "url": string, "widgetContext": string } |
欄位 | |
---|---|
url |
整合小工具的網址。 |
widgetContext |
與小工具相關聯的內容字串。由小工具的 |