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, redactionEvent): void
Returns void
Event.decrypted: ((event, err?) => void)
- (event, err?): void
Returns void
Event.localEventIdReplaced: ((event) => void)
- (event): void
Returns void
Event.relationsCreated: ((relationType, eventType) => void)
- (relationType, eventType): void
Parameters
- relationType: string
- eventType: string
Returns void
Event.replaced: ((event) => void)
- (event): void
Returns void
Event.status: ((event, status) => void)
- (event, status): void
Returns void
Event.visibilityChange: ((event, visible) => void)
- (event, visible): void
Returns void
Fires when an event is decrypted