Magidoc

UserNotificationMarker
Object

Lightweight change signal for a user's in-app notifications. Poll this instead of the full notifications query; only fetch the full list when the marker changes.

Fields

#

hasChanges

Non-null

True when the supplied knownMarker differs from the current marker (i.e. run the full notifications query). Compares for inequality, so it is robust to cache resets.

lastActivityUtc

UTC time of the user's most recent in-app notification, or null if they have none. Informational/diagnostic only.

marker

Opaque marker that changes whenever a new in-app notification is created for the user. Store it and compare it on each poll; null when the user has no notifications.

Usages

#

References

#

  • Field userNotificationMarker from Query