This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@whiskeysockets/baileys/lib/Utils/history.d.ts
T

19 lines
982 B
TypeScript

import { proto } from '../../WAProto/index.js';
import type { Chat, Contact, WAMessage } from '../Types/index.js';
export declare const downloadHistory: (msg: proto.Message.IHistorySyncNotification, options: RequestInit) => Promise<proto.HistorySync>;
export declare const processHistoryMessage: (item: proto.IHistorySync) => {
chats: Chat[];
contacts: Contact[];
messages: WAMessage[];
syncType: proto.HistorySync.HistorySyncType | null | undefined;
progress: number | null | undefined;
};
export declare const downloadAndProcessHistorySyncNotification: (msg: proto.Message.IHistorySyncNotification, options: RequestInit) => Promise<{
chats: Chat[];
contacts: Contact[];
messages: WAMessage[];
syncType: proto.HistorySync.HistorySyncType | null | undefined;
progress: number | null | undefined;
}>;
export declare const getHistoryMsg: (message: proto.IMessage) => proto.Message.IHistorySyncNotification;
//# sourceMappingURL=history.d.ts.map