Message Data Type

Represents a message that can be displayed in the MessageLine.

Properties
name data type constraints description
isInstantMessage boolean required boolean This is a boolean variable that indicates if the message is instant.
fieldName string   The name of the REST model field this message is about.
message string  
type Type  
timestamp number required long
image string  
sender User   Get the sender of the message
id number   Get the message id

Example

{
  "isInstantMessage" : true,
  "fieldName" : "...",
  "message" : "...",
  "type" : "CRITICAL",
  "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
}