[core] Add timestamp to chat.archive

This commit is contained in:
devlikepro committed 2024-08-04 10:06:42 +07:00
1 parent cd4e1f179d
commit 0cf5f30c0d
2 files changed
+3

No files matched your search

@@ -826,6 +826,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
const body: ChatArchiveEvent = {
id: chat.id._serialized,
archived: archived,
timestamp: chat.timestamp,
};
handler(body);
});
+2
View File
@@ -41,4 +41,6 @@ export class ChatArchiveEvent {
id: string;
archived: boolean;
timestamp: number;
}