Interface INotification

The details of a single notification.

interface INotification {
    from: string[];
    id: string;
    message: string;
    receivedAt: string;
    target: string[];
    type?: ENotificationType;
}

Implemented by

Properties

from: string[]

The list of id of the users from whom the notification was received.

id: string

The id of the notification.

message: string

The text contents of the notification.

receivedAt: string

The date/time at which the notification was received.

target: string[]

The list of id of the target tweet(s) of the notification.

The type of notification.