masto
    Preparing search index...

    Interface UpdateFilterParams

    interface UpdateFilterParams {
        context?: readonly (keyof mastodon.v2.FilterContextRegistry)[] | null;
        expiresIn?: number | null;
        filterAction?: (keyof FilterActionRegistry) | null;
        keywordsAttributes?:
            | readonly {
                _destroy?: boolean
                | null;
                id?: string | null;
                keyword?: string | null;
                wholeWord?: boolean | null;
            }[]
            | null;
        title?: string
        | null;
    }
    Index

    Properties

    context?: readonly (keyof mastodon.v2.FilterContextRegistry)[] | null

    Array of String. Where the filter should be applied. Specify at least one of home, notifications, public, thread, account.

    expiresIn?: number | null

    Integer. How many seconds from now should the filter expire?

    filterAction?: (keyof FilterActionRegistry) | null

    String. The policy to be applied when the filter is matched. Specify warn or hide.

    keywordsAttributes?:
        | readonly {
            _destroy?: boolean
            | null;
            id?: string | null;
            keyword?: string | null;
            wholeWord?: boolean | null;
        }[]
        | null
    title?: string | null

    String. The name of the filter group.