Skip to main content

Function: processHistoryMessage()

processHistoryMessage(item, logger?): object

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

Parameters

item

IHistorySync

logger?

ILogger

Returns

object

chats

chats: Chat[]

contacts

contacts: Contact[]

lidPnMappings

lidPnMappings: LIDMapping[]

messages

messages: WAMessage[]

pastParticipants

pastParticipants: undefined | null | IPastParticipants[] = item.pastParticipants

progress

progress: undefined | null | number = item.progress

syncType

syncType: undefined | null | HistorySyncType = item.syncType