mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Indexing change + missing messages detection
This commit is contained in:
@@ -231,6 +231,7 @@ export interface WAChat {
|
||||
presences?: { [k: string]: WAPresenceData }
|
||||
metadata?: WAGroupMetadata
|
||||
}
|
||||
export type WAChatIndex = { index: string, owner: 'true' | 'false', participant?: string }
|
||||
export type WAChatUpdate = Partial<WAChat> & { jid: string, hasNewMessage?: boolean }
|
||||
export enum WAMetric {
|
||||
debugLog = 1,
|
||||
@@ -254,6 +255,7 @@ export enum WAMetric {
|
||||
queryGroup = 19,
|
||||
queryPreview = 20,
|
||||
queryEmoji = 21,
|
||||
queryRead = 22,
|
||||
queryVCard = 29,
|
||||
queryStatus = 30,
|
||||
queryStatusUpdate = 31,
|
||||
|
||||
Reference in New Issue
Block a user