Skip to content
Last update: April 4, 2024

pushMessageCreated subscription

This subscription is used to receive real-time updates when a new push message is created.

Possible returns

Possible return Description
PushMessageType The structure containing details of the newly created push message.
1
2
3
4
5
6
7
8
subscription pushMessageCreated {
  pushMessageCreated {
    id
    shortMessage
    createdDate
    isRead
  }
}
{
"data": {
    "pushMessageCreated": {
      "id": "3",
      "shortMessage": "New notification",
      "createdDate": "2024-04-03T10:30:00Z",
      "isRead": false
    }
  }
}