User added to a new channel - real time update

Hi,
When a user is added to a new public group channel in the backend, I would like his app to automatically display the new channel. Is there any event I can listen to on the app to do this in realtime? It is a react native app using javascript SDK.

thanks,
rajath

Hello @rajath,

Welcome to the Sendbird Community.

You can utilize the channel event handlers to listen for channel updates (onChannelChanged) and then insert them into your view.

Here is some relevant documentation:
V3 - Event handler | Chat JavaScript SDK | Sendbird Docs
V4 - Add or remove a channel event handler | Chat JavaScript SDK | Sendbird Docs

1 Like