Notification interface

interface INotification<T> {
    createdAt: number;
    id: string;
    message: string;
    modifiedAt: number;
    options: Notification.IOptions<T>;
    type: TypeOptions;
}

Type Parameters

  • T extends ReadonlyJSONValue = ReadonlyJSONValue

Properties

createdAt: number

Notification creation date

id: string

Notification unique identifier

message: string

Notification message

Notes

The message will be truncated if longer than 140 characters.

modifiedAt: number

Notification modification date

Notification options

Notification type