UNPKG

@rocket.chat/apps-engine

Version:

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

23 lines (22 loc) 512 B
import type { IUser } from '../users'; import type { IRoom } from './IRoom'; /** * The context of execution for the following events: * - IPreRoomUserJoined * - IPostRoomUserJoined */ export interface IRoomUserJoinedContext { /** * The user that is being added to the room */ joiningUser: IUser; /** * The room to which the user is being added */ room: IRoom; /** * The user that has invited `joiningUser` to `room`, * if any. */ inviter?: IUser; }