mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: messaging-history.set event not emitting syncType and progress / add PDO request id (#1042)
* initial commit * add PDO request id
This commit is contained in:
@@ -23,6 +23,7 @@ export type BaileysEventMap = {
|
||||
isLatest?: boolean
|
||||
progress?: number | null
|
||||
syncType?: proto.HistorySync.HistorySyncType
|
||||
peerDataRequestSessionId?: string | null
|
||||
}
|
||||
/** upsert chats */
|
||||
'chats.upsert': Chat[]
|
||||
@@ -73,6 +74,9 @@ export type BufferedEventData = {
|
||||
messages: { [uqId: string]: WAMessage }
|
||||
empty: boolean
|
||||
isLatest: boolean
|
||||
progress?: number | null
|
||||
syncType?: proto.HistorySync.HistorySyncType
|
||||
peerDataRequestSessionId?: string
|
||||
}
|
||||
chatUpserts: { [jid: string]: Chat }
|
||||
chatUpdates: { [jid: string]: ChatUpdate }
|
||||
|
||||
Reference in New Issue
Block a user