Simple way to get users list JS SDK

hi! what is the suggested way to obtain users list in public channels in js SDK of PhotonChat?
PublishSubscribers is not available in HTML SDK

I'm using Construct 3 but I'm using the js SDK directly. Current workaround is a custom message/response when new user join (user:"hello, i'm in!" everyone :"hello, I'm here!")