Message Data Type

Represents a message that can be displayed in the MessageLine.

Properties
name data type description
fieldName string The name of the REST model field this message is about.
message string
type Type
timestamp number
image string
sender User Get the sender of the message
id number Get the message id

Example

{
  "fieldName" : "...",
  "message" : "...",
  "type" : "NEUTRAL",
  "timestamp" : 12345,
  "image" : "...",
  "sender" : {
    "id" : 12345,
    "firstName" : "...",
    "lastName" : "...",
    "description" : "...",
    "email" : "...",
    "groups" : [ {
      "id" : 12345,
      "name" : "...",
      "description" : "...",
      "children" : [ { }, { } ]
    }, {
      "id" : 12345,
      "name" : "...",
      "description" : "...",
      "children" : [ { }, { } ]
    } ],
    "login" : "...",
    "password" : "..."
  },
  "id" : 12345
}