pusher-chatkit-server
Advanced tools
Changelog
0.5.1 - 2017-11-10
createRoom
now takes a CreateRoomOptions
object as its second parameter. This allows creating private rooms and adding users to a room at the point of creation. This looks like:chatkit.createRoom(
'user_id_creating_room',
{
name: 'my room',
isPrivate: true,
userIds: ['some_other_user', 'and_another']
}
).then(() => {
...
}
Changelog
0.5.1 - 2017-11-10
createRoom
now takes a CreateRoomOptions
object as its second parameter. This allows creating private rooms and adding users to a room at the point of creation. This looks like:chatkit.createRoom(
'user_id_creating_room',
{
name: 'my room',
isPrivate: true,
userIds: ['some_other_user', 'and_another']
}
).then(() => {
...
}