@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
17 lines (16 loc) • 352 B
TypeScript
import type { IMessage } from '.';
import type { IUser } from '../users';
/**
* The context of execution for the following events:
* - IPostMessageDeleted
*/
export interface IMessageDeleteContext {
/**
* The message that was deleted
*/
message: IMessage;
/**
* The user who deleted the message
*/
user: IUser;
}