-
-
Save astrotars/0f2a6ae2a01fd921647a55f758153d79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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