Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created April 2, 2020 14:10
Show Gist options
  • Save astrotars/cd09d5dcc25c46ac04a89e4679544d9c to your computer and use it in GitHub Desktop.
Save astrotars/cd09d5dcc25c46ac04a89e4679544d9c to your computer and use it in GitHub Desktop.
const room = await currentUser.createRoom({
id: '#general',
name: 'General',
addUserIds: ['craig', 'kate'],
customData: { foo: 42 },
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment