Resets the unread notifications counter for the current user.

This method requires the following permissions: notifications.

Parameters

This method does not take any parameters.

Result

Returns true if there were unread notifications and the counter was reset. Otherwise returns false.

Errors

Global errors may occur when calling this method.