markAsRead()

Overview

public numeric function markAsRead(
      required array  notificationIds
    , required string userId         
)

Marks notifications as read for a given user

Arguments

NameTypeRequiredDescription
notificationIdsarrayYesArray of notification IDs to mark as read
userIdstringYesThe id of the user to mark as read for