onMessage has timestamp param