AboutSupportDeveloper GuideVersion 16.1.6
  • 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',
    });

    Type Parameters

    Parameters

    • options: T

    Returns Promise<Notification>