Type alias MatrixEventHandlerMap

MatrixEventHandlerMap: {
    Event.beforeRedaction: ((event, redactionEvent) => void);
    Event.decrypted: ((event, err?) => void);
    Event.localEventIdReplaced: ((event) => void);
    Event.relationsCreated: ((relationType, eventType) => void);
    Event.replaced: ((event) => void);
    Event.status: ((event, status) => void);
    Event.visibilityChange: ((event, visible) => void);
} & Pick<ThreadEventHandlerMap, Update>

Type declaration

  • Event.beforeRedaction: ((event, redactionEvent) => void)
  • Event.decrypted: ((event, err?) => void)
      • (event, err?): void
      • Fires when an event is decrypted

        Parameters

        • event: MatrixEvent

          The matrix event which has been decrypted

        • Optional err: Error

          The error that occurred during decryption, or undefined if no error occurred.

        Returns void

  • Event.localEventIdReplaced: ((event) => void)
      • (event): void
      • Parameters

        Returns void

  • Event.relationsCreated: ((relationType, eventType) => void)
      • (relationType, eventType): void
      • Parameters

        • relationType: string
        • eventType: string

        Returns void

  • Event.replaced: ((event) => void)
      • (event): void
      • Parameters

        Returns void

  • Event.status: ((event, status) => void)
  • Event.visibilityChange: ((event, visible) => void)
      • (event, visible): void
      • Parameters

        Returns void

Generated using TypeDoc