Skip to main content

Function: downloadAndProcessHistorySyncNotification()

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

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

Parameters

msg

IHistorySyncNotification

options

RequestInit

Returns

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