Skip to content

Instantly share code, notes, and snippets.

@BrightnBubbly
Created April 19, 2020 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrightnBubbly/be9fae7d33cda8701eeeb6e091b6cd02 to your computer and use it in GitHub Desktop.
Save BrightnBubbly/be9fae7d33cda8701eeeb6e091b6cd02 to your computer and use it in GitHub Desktop.
data := map[string]interface{}{
"name": "Remote work",
}
channel.Update(data, &stream.Message{
User: &stream.User{
ID: "admin",
},
Text: "Admin changed the channel name to Remote work",
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment