Skip to main content

Function: downloadAndProcessHistorySyncNotification()

downloadAndProcessHistorySyncNotification(msg, options, logger?): Promise<{ chats: Chat[]; contacts: Contact[]; lidPnMappings: LIDMapping[]; messages: WAMessage[]; progress: undefined | null | number; syncType: undefined | null | HistorySyncType; }>

Defined in: src/Utils/history.ts:141

Parameters

msg

IHistorySyncNotification

options

RequestInit

logger?

ILogger

Returns

Promise<{ chats: Chat[]; contacts: Contact[]; lidPnMappings: LIDMapping[]; messages: WAMessage[]; progress: undefined | null | number; syncType: undefined | null | HistorySyncType; }>