markAsRead()
Overview
public numeric function markAsRead(
required array notificationIds
, required string userId
)
Marks notifications as read for a given user
Arguments
Name | Type | Required | Description |
---|---|---|---|
notificationIds | array | Yes | Array of notification IDs to mark as read |
userId | string | Yes | The id of the user to mark as read for |