Notification Received

Notification event is invoked by the client and can be used to send any notification events like chat opened, chat closed, etc.

{
  "event": "notification",
  "timestamp": "2019-03-28T12:36:34.873Z",
  "data": {
    "channel": {
      "id": "6456078759331248741",
      "type": "amio_chat"
    },
    "contact": {
      "id": "6456078781510715474"
    },
    "type": "custom",
    "payload": {
      "any": "arbitrary data"
    }
  }
}
ParameterTypeDescription
dataobjectObject representing notification received. Only custom notification is supported from client side, see Send Notification for more details.