thelounge/src/types/plugins/preview.d.ts
2022-05-21 11:49:27 -07:00

14 lines
271 B
TypeScript

import Msg from "../../models/msg";
type Preview = {
type: string;
head: string;
body: string;
thumb: string;
size: number;
link: string; // Send original matched link to the client
shown: boolean | null;
error: undefined | any;
message: undefined | string;
};