Interface IRedactOpts

Hierarchy

  • IRedactOpts

Properties

reason?: string
with_relations?: string[]

Whether events related to the redacted event should be redacted.

If specified, then any events which relate to the event being redacted with any of the relationship types listed will also be redacted.

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

Generated using TypeDoc