Contextual data associated with a message.
JSON representation |
---|
{ "entryPoint": enum ( |
Fields | |
---|---|
entryPoint |
The entry point that the user clicked. |
userInfo |
Identity of the user who wrote the message. |
widget |
Information about the widget used to start the conversation. |
resolvedLocale |
Resolved locale. A match of user and supported agent locales based on location, likely language preference, and other factors. The locale value is a well-formed IETF BCP 47 language tag. |
customContext |
Context data specified by the partner. |
Union field place . Either placeId or nearPlaceId can be set. place can be only one of the following: |
|
placeId |
The Place ID, or unique identifier used in Google Places, for the location. |
nearPlaceId |
The Place ID, or unique identifier used in Google Places, of the nearest location to the user. |
UserInfo
User identity data associated with a message.
JSON representation |
---|
{ "displayName": string, "userDeviceLocale": string } |
Fields | |
---|---|
displayName |
User's display name. |
userDeviceLocale |
User's locale. Determined by the device's language settings. |
Widget
Widget information associated with a message.
JSON representation |
---|
{ "url": string, "widgetContext": string } |
Fields | |
---|---|
url |
URL where the widget was integrated. |
widgetContext |
Context string associated with the widget. Specified by the widget's |