getNotificationsCount()
Overview
public numeric function getNotificationsCount(
required string userId
, string topic = ""
)
Returns the count of non-dismissed notifications for the given user id and optional topic
Arguments
Name | Type | Required | Description |
---|---|---|---|
userId | string | Yes | id of the admin user whose unread notifications we wish to retrieve |
topic | string | No (default="") | topic by which to filter the notifications |