fix: add missing "isLatest" flag

This commit is contained in:
Adhiraj Singh
2022-06-13 12:53:20 +05:30
parent f87f89329b
commit b125638253
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ export type BaileysEventMap<T> = {
/** set messages (history sync), messages are reverse chronologically sorted */
'messages.set': { messages: WAMessage[], isLatest: boolean }
/** set contacts (history sync) */
'contacts.set': { contacts: Contact[] }
'contacts.set': { contacts: Contact[], isLatest: boolean }
/** upsert chats */
'chats.upsert': Chat[]
/** update the given chats */