Magidoc

userNotificationMarker
Query

Lightweight check for new in-app notifications. Poll this instead of running the full notifications query on a timer: it reads a single cached marker, so the expensive query only runs when the marker changes. Pass the last marker you saw as knownMarker to get hasChanges back, or compare the returned marker yourself.

Arguments

#

knownMarker

Response

#

Returns UserNotificationMarker !.

Example

#