masto
    Preparing search index...

    Interface FetchUnreadCountParams

    interface FetchUnreadCountParams {
        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;
        types?:
            | readonly (
                | "mention"
                | "status"
                | "reblog"
                | "follow"
                | "follow_request"
                | "favourite"
                | "poll"
                | "update"
                | "admin.sign_up"
                | "admin.report"
                | "severed_relationships"
                | "moderation_warning"
            )[]
            | null;
    }
    Index

    Properties

    accountId?: string | null

    Only count unread notifications received from the specified account.

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

    Types of notifications that should not count towards unread notifications.

    limit?: number | null

    Maximum number of results to return. Defaults to 100 notifications. Max 1000 notifications.

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

    Types of notifications that should count towards unread notifications.