masto
    Preparing search index...

    Interface ListNotificationsParams

    interface ListNotificationsParams {
        accountId?: string | null;
        excludeTypes?:
            | readonly (
                | "mention"
                | "status"
                | "reblog"
                | "follow"
                | "follow_request"
                | "favourite"
                | "poll"
                | "update"
                | "admin.sign_up"
                | "admin.report"
                | "severed_relationships"
                | "moderation_warning"
            )[]
            | null;
        limit?: number
        | null;
        maxId?: string | null;
        minId?: string | null;
        sinceId?: string | null;
        types?:
            | readonly (
                | "mention"
                | "status"
                | "reblog"
                | "follow"
                | "follow_request"
                | "favourite"
                | "poll"
                | "update"
                | "admin.sign_up"
                | "admin.report"
                | "severed_relationships"
                | "moderation_warning"
            )[]
            | null;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accountId?: string | null

    ID of the account

    excludeTypes?:
        | readonly (
            | "mention"
            | "status"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "poll"
            | "update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null

    Array of notifications to exclude (Allowed values: "follow", "favourite", "reblog", "mention")

    limit?: number | null

    Maximum number of results to return per page. Defaults to 40. NOTE: Pagination is done with the Link header from the response.

    maxId?: string | null

    Return results older than this ID.

    minId?: string | null

    Get a list of items with ID greater than this value excluding this ID

    sinceId?: string | null

    Return results newer than this ID.

    types?:
        | readonly (
            | "mention"
            | "status"
            | "reblog"
            | "follow"
            | "follow_request"
            | "favourite"
            | "poll"
            | "update"
            | "admin.sign_up"
            | "admin.report"
            | "severed_relationships"
            | "moderation_warning"
        )[]
        | null

    Instead of specifying every known type to exclude, you can specify only the types you want.