Add WAChatUpdate

This commit is contained in:
Adhiraj Singh
2020-11-18 23:41:51 +05:30
parent abde6563c9
commit c69d3832de
5 changed files with 16 additions and 61 deletions

View File

@@ -219,6 +219,7 @@ export interface WAChat {
imgUrl?: string
presences?: { [k: string]: WAPresenceData }
}
export type WAChatUpdate = Partial<WAChat> & { jid: string, hasNewMessage?: boolean }
export enum WAMetric {
debugLog = 1,
queryResume = 2,