Skip to main content

Function: downloadAndProcessHistorySyncNotification()

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

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

Parameters

msg

IHistorySyncNotification

options

AxiosRequestConfig<{}>

Returns

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