UNPKG

@rocket.chat/apps-engine

Version:

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

9 lines (8 loc) 252 B
import type { IMessage } from '../messages/index'; /** * This accessor provides methods for accessing * Thread messages in a read-only-fashion. */ export interface IThreadRead { getThreadById(id: string): Promise<Array<IMessage> | undefined>; }