masto
    Preparing search index...

    Interface BaseNotification<T>

    interface BaseNotification<T> {
        account: mastodon.v1.Account;
        createdAt: string;
        groupKey: string;
        id: string;
        type: T;
    }

    Type Parameters

    • T
    Index

    Properties

    The account that performed the action that generated the notification.

    createdAt: string

    The timestamp of the notification.

    groupKey: string

    Group key shared by similar notifications, to be used in the grouped notifications feature. Should be considered opaque, but ungrouped notifications can be assumed to have a group_key of the form ungrouped-{notification_id}

    id: string

    The id of the notification in the database.

    type: T

    The type of event that resulted in the notification.