Gets the unread notifications for a user. The notifications are sorted with the most recent notification first.
public static NotificationSearchResult GetUnread(int? userId = default(int? ), NotificationQuery query = null)
Id of user for which to get unread notifications,
null returns notifications for the current user.