Creates a private group.
Logged In | Permission | Setting |
Yes |
| none |
String - name of the channel
Array of strings - usernames of the people to add to the private group when it is created. This can be empty and only the caller of the method will be a member of the group.
{"msg": "method","method": "createPrivateGroup","id": "89","params": ["channel-name",["array-of-usernames", "who-are-in-the-channel"]]}
The response will be an object with one property rid
which is the id of the newly created private group.
{"msg": "result","id": "89","result": [{ "rid": "BBkfgYT2azf7RPTTg" }]}
​Create Channels​
​Delete Private Groups​
​Archive Rooms​
​Unarchive Rooms​