there is ChatClient class in docs Photon JavaScript Client API: Class: ChatClient
it has methods for sending and receiving messages
but i’m not sure about “subscription” as it is written in docs
and i do not see the way to get user who sent message
In my experience at least, none of these methods have really given me great results. I would recommend using a third party chat provider, I use CometChat Pro for all my projects that need this. Its chat widget is super easy to integrate, and it supports voice and video call as well. You can also consider using the tlk.io chat, though this is not as feature rich as CometChat Pro.
one more question
how to use ChatClient class?
what is the sequence of actions (creating instance in app.js, subscribe to room on player join and so on)?
Unfortunately I have not been able to implement this in the PlayCanvas framework yet. Perhaps @Ryotaro.TSUDA, the developer of the library, can lend a hand here?
Hello there! I have some experience using Photon Chat for simple projects. I stumbled upon this thread and thought I’d share my project with you. If it’s helpful, I’d be happy if you could take a look.