Chat Status Message
A Chat status message is generated when the driver receives or reads a message from the planner.
The data field of a Chat message consists of the properties described below.
Property | Nullable | Type | Description |
|---|---|---|---|
id | false | string | The ID of the message whose status is updated |
status | false | string | The status of the message. Possible values are:
|
time | false | string | ISO 8601 formatted timestamp of when the message status was updated |
timeMillis | false | Long | Unix timestamp (milliseconds) of when the message status was updated |
Example
The examples below contain different types of ChatStatus messages. Each example contains a JSON snippet together with a brief explanation.
This example will be sent when the driver has received the message
This example will be sent when the driver has read the message