masto
    Preparing search index...

    Interface FetchUnreadCountParams

    interface FetchUnreadCountParams {
        accountId?: string | null;
        excludeTypes?:
            | readonly ("follow" | "follow_request" | "admin.sign_up")[]
            | null;
        groupedTypes?:
            | readonly ("follow" | "follow_request" | "admin.sign_up")[]
            | null;
        limit?: number | null;
        types?: readonly ("follow" | "follow_request" | "admin.sign_up")[] | null;
    }
    Index

    Properties

    accountId?: string | null

    Only count unread notifications received from the specified account.

    excludeTypes?: readonly ("follow" | "follow_request" | "admin.sign_up")[] | null

    Types of notifications that should not count towards unread notifications.

    groupedTypes?: readonly ("follow" | "follow_request" | "admin.sign_up")[] | null

    Restrict which notification types can be grouped. Use this if there are notification types for which your client does not support grouping. If omitted, the server will group notifications of all types it supports (currently, favourite, follow and reblog). If you do not want any notification grouping, use GET /api/v1/notifications/unread_count instead.

    limit?: number | null

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

    types?: readonly ("follow" | "follow_request" | "admin.sign_up")[] | null

    Types of notifications that should count towards unread notifications.