Add new room member into the room.
client.roomMembers.create(['id'], { data: { roomId: 'xxxxxxxxxxxx', userIds: ['xxxxxxxxxxxx'] }}).then(v => {
console.log(result)
})
Array of RoomMember key names. Returns specified fields as result.
Remove a room member.
client.roomMembers.delete(['id'], { id: 'xxxxxxxxxxxx' }).then(v => {
console.log(v)
})
Array of RoomMember key names. Returns specified fields as result.
Get a room member.
client.roomMembers.get(['id'], 'xxxxxxxxxxxx').then(v => {
console.log(v)
})
Array of RoomMember key names. Returns specified fields as result.
Get list of room members.
client.roomMembers.list(['id'], 'xxxxxxxxxxxx').then(v => {
console.log(v)
})
Array of RoomMember key names. Returns specified fields as result.
Room id.
Generated using TypeDoc
Client to call RoomMembers schema