UNPKG

@rocket.chat/apps-engine

Version:

The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.

30 lines (29 loc) 704 B
import type { IUser } from '../users'; import type { RoomType } from './RoomType'; export interface IRoom { id: string; displayName?: string; slugifiedName: string; type: RoomType; creator: IUser; /** * @deprecated usernames will be removed on version 2.0.0 */ usernames: Array<string>; userIds?: Array<string>; isDefault?: boolean; isReadOnly?: boolean; displaySystemMessages?: boolean; messageCount?: number; createdAt?: Date; updatedAt?: Date; lastModifiedAt?: Date; description?: string; customFields?: { [key: string]: any; }; parentRoom?: IRoom; livechatData?: { [key: string]: any; }; }