Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// frontend/src/StartChat.js
const channel = this.state.stream.client.channel('team', `${this.state.sender}-chatbot`, {
image: `https://getstream.io/random_svg/?id=rapid-recipe-0&name=${this.state.sender}`,
name: this.state.sender,
members: [this.state.sender, 'chatbot'],
});
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.