fix: extract LID-PN mappings from history sync phoneNumberToLidMappings (#2268)
This commit is contained in:
committed by
GitHub
parent
32134a870e
commit
a89736f89d
+2
-2
@@ -1,6 +1,6 @@
|
||||
import type { Boom } from '@hapi/boom'
|
||||
import { proto } from '../../WAProto/index.js'
|
||||
import type { AuthenticationCreds } from './Auth'
|
||||
import type { AuthenticationCreds, LIDMapping } from './Auth'
|
||||
import type { WACallEvent } from './Call'
|
||||
import type { Chat, ChatUpdate, PresenceData } from './Chat'
|
||||
import type { Contact } from './Contact'
|
||||
@@ -36,7 +36,7 @@ export type BaileysEventMap = {
|
||||
'chats.upsert': Chat[]
|
||||
/** update the given chats */
|
||||
'chats.update': ChatUpdate[]
|
||||
'lid-mapping.update': { lid: string; pn: string }
|
||||
'lid-mapping.update': LIDMapping
|
||||
/** delete chats with given ID */
|
||||
'chats.delete': string[]
|
||||
/** presence of contact in a chat updated */
|
||||
|
||||
Reference in New Issue
Block a user