stream-chat-js icon indicating copy to clipboard operation
stream-chat-js copied to clipboard

Would client still support send SendUserCustomEvent()

Open wmt2023 opened this issue 2 years ago • 1 comments

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

wmt2023 avatar Sep 06 '23 07:09 wmt2023