EventMapper: (obj: Partial<IEvent>) => MatrixEvent