IRedactOpts
Defined in: src/@types/requests.ts:80
Properties
Section titled “Properties”reason?
Section titled “reason?”
optionalreason?:string
Defined in: src/@types/requests.ts:81
with_rel_types?
Section titled “with_rel_types?”
optionalwith_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