DriverChatMessageModel

Driver chat message.

Examples

Fill this template out with real values.

{
"id": "Integer",
"is_edited": "Boolean",
"is_read": "Boolean",
"last_edited_on": "String",
"receiver": "DriverChatUserModel",
"sender": "DriverChatUserModel",
"sent_on": "String",
"text": "String"
}

Fields

id Integer, Required

Driver chat message identifier.


is_edited Boolean, Required

True if message has been changed.

  • One of 0, 1, True, False (case insensitive).

is_read Boolean, Required

True if message has been changed.

  • One of 0, 1, True, False (case insensitive).

last_edited_on String, Required

Message last edit date.

  • Date in an ISO 8601 compatible format.

receiver Object, Required

DriverChatUserModel

Driver chat user profile.


sender Object, Required

DriverChatUserModel

Driver chat user profile.


sent_on String, Required

Message sent date.

  • Date in an ISO 8601 compatible format.

text String, Required

Message text.

  • At least 1 and no more than 1024 characters.