Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
React Native Stream Group Chat Tutorial: Add room member
// server/server.js"/add-member", async (req, res) => {
const user_id = req.body.user_id;
const sample_channel ='messaging', 'sample-room1');
const add_member = await sample_channel.addMembers([user_id]);
console.log("members: ", add_member);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.