export NotificationResponse

interface NotificationResponse {
    action_uri?: null | string;
    created_at?: string;
    from_persona_avatar_url?: null | string;
    from_persona_id?: null | string;
    icon_url?: null | string;
    id?: null | string;
    is_read?: boolean;
    is_urgent?: boolean;
    message?: null | string;
    short_id?: null | string;
    style_type?: NotificationStyleTypes;
    title?: null | string;
    to_persona_id?: null | string;
}

Properties

action_uri?: null | string

A url this notification is linked to. Often this is where to send the client when the notification is clicked.

created_at?: string

The date the notification was created

from_persona_avatar_url?: null | string

The URL for the avatar of the personna that triggered this notification to send

from_persona_id?: null | string

The ID for the persona that triggered this notification to send, if not a system/platform notification

icon_url?: null | string

A url pointing to an icon to display with the notification

id?: null | string
is_read?: boolean

True if the notification is read, and false if it is unread

is_urgent?: boolean

True if the notification is marked urgent

message?: null | string

The actual notification message

short_id?: null | string
title?: null | string

Title of the notification

to_persona_id?: null | string

The ID for the persona this notification is directed towards