Saltar al contenido principal

Function: markNotificationsRead()

function markNotificationsRead(context, siteUrl): Promise<{
changed: string;
}>;

Defined in: areas/messages/messages.ts:104

Marks all the person's notifications read, as the popover's "Mark all as read" does; doing it twice changes nothing.

Parameters​

ParameterType
contextBrowserContext
siteUrlstring

Returns​

Promise<{ changed: string; }>