Documentation
    Preparing search index...

    Interface Notification

    A notification created by a napplet.

    const notification: Notification = {
    id: 'notif-1',
    windowId: 'win-1',
    title: 'New Message',
    body: 'You have a new message from Alice',
    read: false,
    createdAt: 1711800000,
    };
    interface Notification {
        body: string;
        createdAt: number;
        id: string;
        read: boolean;
        title: string;
        windowId: string;
    }
    Index

    Properties

    body: string

    Notification body/description.

    createdAt: number

    Unix timestamp (seconds) when the notification was created.

    id: string

    Unique notification identifier (generated by the service).

    read: boolean

    Whether the notification has been read/acknowledged.

    title: string

    Short notification title.

    windowId: string

    The napplet window that created this notification.