@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
14 lines (13 loc) • 607 B
TypeScript
import type { MessageBridge } from '../bridges/MessageBridge';
import type { IMessageRead } from '../../definition/accessors';
import type { IMessage } from '../../definition/messages';
import type { IRoom } from '../../definition/rooms';
import type { IUser } from '../../definition/users';
export declare class MessageRead implements IMessageRead {
private messageBridge;
private appId;
constructor(messageBridge: MessageBridge, appId: string);
getById(id: string): Promise<IMessage>;
getSenderUser(messageId: string): Promise<IUser>;
getRoom(messageId: string): Promise<IRoom>;
}