export type IImportedId = 'string'; export interface IImportMessageReaction { name: string; users: Array; } export interface IImportPendingFile { downloadUrl: string; id: string; size: number; name: string; external: boolean; source: string; original: Record; } export interface IImportAttachment extends Record { text: string; title: string; fallback: string; } export interface IImportMessage { _id?: IImportedId; rid: IImportedId; u: { _id: IImportedId; }; msg: string; alias?: string; ts: Date; t?: string; reactions?: Record; groupable?: boolean; tmid?: IImportedId; tlm?: Date; tcount?: number; replies?: Array; editedAt?: Date; editedBy?: IImportedId; mentions?: Array; channels?: Array; attachments?: IImportAttachment; bot?: boolean; emoji?: string; url?: string; _importFile?: IImportPendingFile; }