add photon chat api