Skip to content

Instantly share code, notes, and snippets.

@nparsons08 nparsons08/startChat.js Secret
Created Sep 26, 2019

Embed
What would you like to do?
let members = [this.state.sender, this.state.receiver];
members.sort();
const channel = this.state.stream.client.channel("messaging", {
image: `https://getstream.io/random_svg/?id=rapid-recipe-0&name=${members.join(
"+"
)}`,
name: members.join(", "),
members: members
});
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.