stream-chat-js
stream-chat-js copied to clipboard
Would client still support send SendUserCustomEvent()
Hi stream io developers,
I try to sendUserCustomEvent from react web client. It seems like official doc is out of date. The channel.sendEvent() method don't accept customEvent. https://getstream.io/chat/docs/react/custom_events/
https://github.com/GetStream/stream-chat-js/pull/664 shows SendUserCustomEvent() exist. But when I try it, it shows this method only allow server side to use. I don't undersatnd why this method exist in react code base.
Please let me know if there other method for SendUserCustomEvent().
Thanks