Unblu Agent Embedded JS API
    Preparing search index...

    Interface LayerInactivityNotification

    Notification about inactivity in a collaboration layer of a conversation.

    interface LayerInactivityNotification {
        actions: NotificationAction[];
        body: string;
        closeRequested: Promise<void>;
        conversationId: string;
        groupId?: string;
        imageUrl?: string;
        sticky: boolean;
        title: string;
        type: LAYER_INACTIVITY;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Actions that can be executed on the notification (e.g. accepting or declining a call)

    body: string

    The body of the notification

    closeRequested: Promise<void>

    A promise that resolves as soon as a notification is withdrawn and shouldn't be displayed anymore

    conversationId: string

    The ID of the related conversation of the notification

    groupId?: string

    Identifier used to group related notifications of the same type (e.g. message notifications are grouped by conversation ID). For example use it as the tag field in WebNotifications to replace the previous "new message" notification for that conversation.

    imageUrl?: string

    An image which can be displayed on the notification

    sticky: boolean

    Defines whether the user should be able to dismiss the notification. If 'true', the notification can't be dismissed.

    title: string

    The title of the notification

    The type of notification. Used to distinguish between call, message, and other notifications.