masto
    Preparing search index...

    Interface BaseNotificationGroup<T>

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

    Type Parameters

    • T
    Index

    Properties

    event?: null

    Summary of the event that caused follow relationships to be severed. Attached when type of the notification is severed_relationships.

    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.

    moderationWarning?: null

    Moderation warning that caused the notification. Attached when type of the notification is moderation_warning.

    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.

    report?: null

    Report that was the object of the notification. Attached when type of the notification is admin.report.

    sampleAccountIds: string

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

    statusId?: null

    ID of the Status that was the object of the notification. Attached when type of the notification is favourite, reblog, status, mention, poll, or update.

    type: T

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