@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
10 lines (9 loc) • 416 B
TypeScript
import type { IThreadRead } from '../../definition/accessors/IThreadRead';
import type { IMessage } from '../../definition/messages';
import type { ThreadBridge } from '../bridges/ThreadBridge';
export declare class ThreadRead implements IThreadRead {
private threadBridge;
private appId;
constructor(threadBridge: ThreadBridge, appId: string);
getThreadById(id: string): Promise<Array<IMessage>>;
}