@wppconnect/wa-js 3.19.4 → 3.19.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -25,6 +25,7 @@ export interface ChatListOptions {
|
|
|
25
25
|
onlyWithUnreadMessage?: boolean;
|
|
26
26
|
onlyArchived?: boolean;
|
|
27
27
|
withLabels?: string[];
|
|
28
|
+
ignoreGroupMetadata?: boolean;
|
|
28
29
|
}
|
|
29
30
|
/**
|
|
30
31
|
* Return a list of chats
|
|
@@ -63,6 +64,9 @@ export interface ChatListOptions {
|
|
|
63
64
|
*
|
|
64
65
|
* // Only archived chats
|
|
65
66
|
* const chats = await WPP.chat.list({onlyArchived: true});
|
|
67
|
+
*
|
|
68
|
+
* // Ignore group metadata search
|
|
69
|
+
* const chats = await WPP.chat.list({ignoreGroupMetadata: true})
|
|
66
70
|
* ```
|
|
67
71
|
*
|
|
68
72
|
* @category Chat
|