UNPKG

@rocket.chat/apps-engine

Version:

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

13 lines (12 loc) 640 B
import type { IModifyDeleter } from '../../definition/accessors'; import type { IMessage } from '../../definition/messages'; import type { AppBridges } from '../bridges'; import type { IUser, UserType } from '../../definition/users'; export declare class ModifyDeleter implements IModifyDeleter { private readonly bridges; private readonly appId; constructor(bridges: AppBridges, appId: string); deleteRoom(roomId: string): Promise<void>; deleteUsers(appId: Exclude<IUser['appId'], undefined>, userType: UserType.APP | UserType.BOT): Promise<boolean>; deleteMessage(message: IMessage, user: IUser): Promise<void>; }