redactEvent
abstract fun redactEvent( event: Event, reason: String?, withRelTypes: List<String>? = null, additionalContent: Content? = null): Cancelable
Content copied to clipboard
Redact (delete) the given event.
Parameters
event
the event to redact
reason
optional reason string
withRelTypes
the list of relation types to redact with this event
additionalContent
additional content to put in the event content