16 lines
364 B
TypeScript
16 lines
364 B
TypeScript
|
|
import { MatrixEvent } from "matrix-js-sdk";
|
||
|
|
|
||
|
|
export type KeanuEventExtension = {
|
||
|
|
isMxThread?: boolean;
|
||
|
|
isChannelMessage?: boolean;
|
||
|
|
isPinned?: boolean;
|
||
|
|
}
|
||
|
|
|
||
|
|
export type EventAttachment = {
|
||
|
|
event: MatrixEvent & KeanuEventExtension;
|
||
|
|
src?: string;
|
||
|
|
thumbnail?: string;
|
||
|
|
srcPromise?: Promise<string>;
|
||
|
|
thumbnailPromise?: Promise<string>;
|
||
|
|
};
|