masto
    Preparing search index...

    Interface Filter

    Represents a user-defined filter for determining which statuses should not be shown to the user.

    interface Filter {
        context: (keyof mastodon.v2.FilterContextRegistry)[];
        expiresAt?: string | null;
        filterAction: keyof FilterActionRegistry;
        id: string;
        keywords: FilterKeyword[];
        statuses: FilterStatus[];
        title: string;
    }
    Index

    Properties

    context: (keyof mastodon.v2.FilterContextRegistry)[]

    The contexts in which the filter should be applied.

    expiresAt?: string | null

    When the filter should no longer be applied

    filterAction: keyof FilterActionRegistry

    The action to be taken when a status matches this filter.

    warn = show a warning that identifies the matching filter by title, and allow the user to expand the filtered status. This is the default (and unknown values should be treated as equivalent to warn).

    hide = do not show this status if it is received

    blur = hide/blur media attachments with a warning identifying the matching filter by title

    id: string

    The ID of the filter in the database.

    keywords: FilterKeyword[]

    The keywords grouped under this filter.

    statuses: FilterStatus[]

    The statuses grouped under this filter.

    title: string

    A title given by the user to name the filter.