[core] Add timestamp to chat.archive
This commit is contained in:
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);
|
||||
});
|
||||
|
||||
@@ -41,4 +41,6 @@ export class ChatArchiveEvent {
|
||||
id: string;
|
||||
|
||||
archived: boolean;
|
||||
|
||||
timestamp: number;
|
||||
}
|
||||
Reference in new issue
Block a user