storage: persist message attachments and user AI settings

This commit is contained in:
2026-05-10 22:52:10 +03:00
parent 28f67aefc2
commit d666244863
14 changed files with 1147 additions and 45 deletions
+5 -1
View File
@@ -1,9 +1,13 @@
import {StoredAttachment} from "./stored-attachment";
export type StoredMessage = {
chatId: number;
id: number;
replyToMessageId?: number;
fromId: number;
text?: string | null;
quoteText?: string | null;
date: number;
photoMaxSizeFilePath?: string[] | null;
};
attachments?: StoredAttachment[] | null;
};