@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
16 lines (15 loc) • 497 B
TypeScript
import type { IRoom } from '../../definition/rooms';
import type { IExternalComponentUserInfo } from './IExternalComponentUserInfo';
type ClientRoomInfo = Pick<IRoom, 'id' | 'slugifiedName'>;
/**
* Represents the room's information returned to the
* external component.
*/
export interface IExternalComponentRoomInfo extends ClientRoomInfo {
/**
* the list that contains all the users belonging
* to this room.
*/
members: Array<IExternalComponentUserInfo>;
}
export {};