RoomType
Room types accepted by SDKInstance.createRoom and returned as roomType in TRoomInfo
and TSelectedRoom.roomType. The numeric values are the portal's RoomType API values.
Example
import { RoomType } from '@onlyoffice/docspace-sdk-js';
const room = await instance.createRoom('Contracts', RoomType.Custom);
Enumeration Members
| Enumeration Member | Value | Description |
|---|---|---|
Ai | 9 | AI room: an AI agent works with the room's files. API value: 9 (AiRoom). |
Collaboration | 2 | Collaboration room: co-editing of documents. API value: 2 (EditingRoom). |
Custom | 5 | Custom room: every access level (including reviewing and commenting) can be assigned. API value: 5 (CustomRoom). |
FormFilling | 1 | Form filling room: a room for filling out and collecting PDF forms. API value: 1 (FillingFormsRoom). |
Private | 13 | Private room: end-to-end encrypted. Returned by SDKInstance.getRooms and TFrameEvents.onSelectCallback; not accepted by SDKInstance.createRoom. API value: 13 (RoomsTypePrivate). |
Public | 6 | Public room: files are shared through external links. API value: 6 (PublicRoom). |
VirtualData | 8 | Virtual data room: indexing, watermarks and download restrictions. API value: 8 (VirtualDataRoom). |