storage: persist message attachments and user AI settings
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user