Skip to main content

downloadAndProcessHistorySyncNotification

amiudmodz


amiudmodz / downloadAndProcessHistorySyncNotification

Function: downloadAndProcessHistorySyncNotification()

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

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

Parameters​

msg​

IHistorySyncNotification

options​

RequestInit

logger?​

ILogger

Returns​

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