Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created April 2, 2020 14:11
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 astrotars/0f2a6ae2a01fd921647a55f758153d79 to your computer and use it in GitHub Desktop.
Save astrotars/0f2a6ae2a01fd921647a55f758153d79 to your computer and use it in GitHub Desktop.
const channel = client.channel('team', '#general', {
name: 'General',
created_by: { id: 'userId' },
members: ['craig', 'kate'],
custom_data: { foo: 42 },
});
await channel.create();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment