import { RoomEvent } from "./RoomEvent" ; category see RedactionEvent export interface RedactionEventContent { /**
     * The event ID or IDs this event redacts.
     */ redacts ? : string | string [ ] ; } category export class RedactionEvent extends RoomEvent < RedactionEventContent > { constructor ( event ) { super ( event ) ; } deprecated public get redactsEventId ( ) : string { return this . redactsEventIds [ 0 ] ; } /**
     * The event IDs this event redacts.
     */ public get redactsEventIds ( ) : string [ ] { if ( Array . isArray ( this . content . redacts ) ) { return this . content . redacts ; } else if ( this . content . redacts ) { return [ this . content . redacts ] ; } else { return [ this . event [ 'redacts' ] ] ; } } }