Skip to main content

PushMessage

No description

type PushMessage {
id: Int!
messageType: PushMessageTypes!
message: String!
sentAt: String!
facilitySlug: String!
businessSlug: String!
}

Fields

PushMessage.id ● Int! non-null scalar

Unique id that can be used to ensure you don't process a message twice

PushMessage.messageType ● PushMessageTypes! non-null enum

The message type

PushMessage.message ● String! non-null scalar

The message encoded as a JSON string, see webhook documentation for more information about what fields to expect

PushMessage.sentAt ● String! non-null scalar

Time stamp in UTC to know when the message was sent. You can track this and then use the snapshot api to load any missed messages when the subscription is closed.

PushMessage.facilitySlug ● String! non-null scalar

Facility slug of the message

PushMessage.businessSlug ● String! non-null scalar

Business slug of the message

Returned By

pushMessage subscription ● pushMessages query