masto
    Preparing search index...

    Interface BaseNotificationGroup<T>

    interface BaseNotificationGroup<T> {
        groupKey: string;
        latestPageNotificationAt?: string;
        mostRecentNotificationId: string;
        notificationsCount: number;
        pageMaxId?: string;
        pageMinId?: string;
        sampleAccountIds: string;
        type: T;
    }

    Type Parameters

    • T
    Index
    groupKey: string

    Group key identifying the grouped notifications. Should be treated as an opaque value.

    latestPageNotificationAt?: string

    Date at which the most recent notification from this group within the current page has been created. This is only returned when paginating through notification groups.

    mostRecentNotificationId: string

    ID of the most recent notification in the group.

    notificationsCount: number

    Total number of individual notifications that are part of this notification group.

    pageMaxId?: string

    ID of the newest notification from this group represented within the current page. This is only returned when paginating through notification groups. Useful when polling new notifications.

    pageMinId?: string

    ID of the oldest notification from this group represented within the current page. This is only returned when paginating through notification groups. Useful when polling new notifications.

    sampleAccountIds: string

    IDs of some of the accounts who most recently triggered notifications in this group.

    type: T

    The type of event that resulted in the notifications in this group.