• Updates an existing notification. Requires id of original Notification and one of:

    • buttons
    • customData
    • Template

    The updated Notification will then show in Notification Centre and in the Toast stack if not expired.

    Example:

    import {update} from 'openfin-notifications';

    update({
    id: uniqueNotificationId,
    body: 'i am an update! - ' + Date.now().toString(),
    template: 'markdown',
    });

    Returns

    Type Parameters

    Parameters

    • options: T

    Returns Promise<Notification>

Generated using TypeDoc