Skip to content

IRedactOpts

Defined in: src/@types/requests.ts:80

optional reason?: string

Defined in: src/@types/requests.ts:81


optional with_rel_types?: (RelationType | "*")[]

Defined in: src/@types/requests.ts:92

If specified, then any events which relate to the event being redacted with any of the relationship types listed will also be redacted. Provide a “*” list item to tell the server to redact relations of any type.

Raises an Error if the server does not support it. Check for server-side support before using this param with client.canSupport.get(Feature.RelationBasedRedactions). https://github.com/matrix-org/matrix-spec-proposals/pull/3912