UpdateDriverChatMessageModel

Update driver chat message. If chat `y` is from someone other than driver `x`, then only `is_read` can be updated
and `is_edited`, `last_edited_on` are not modified. If chat `y` is from driver `x`, only `text` can be updated.
`is_edited` is set to `True` and `last_edited_on` is set to the current datetime.

Examples

Fill this template out with real values.

{
"is_read": "Boolean, optional",
"text": "String, optional"
}

Fields

is_read Boolean, Optional

True if message has been changed.

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

text String, Optional

Message text.

  • At least 1 and no more than 1024 characters.