@open-wa/wa-automate-types-only 4.64.5 → 4.65.0
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/dist/api/Client.d.ts
CHANGED
@@ -1539,7 +1539,7 @@ export declare class Client {
|
|
1539
1539
|
*/
|
1540
1540
|
checkNumberStatus(contactId: ContactId): Promise<NumberCheck>;
|
1541
1541
|
/**
|
1542
|
-
* Retrieves all
|
1542
|
+
* Retrieves all unread Messages
|
1543
1543
|
* @param includeMe
|
1544
1544
|
* @param includeNotifications
|
1545
1545
|
* @param use_unread_count
|
@@ -1547,7 +1547,7 @@ export declare class Client {
|
|
1547
1547
|
*/
|
1548
1548
|
getUnreadMessages(includeMe: boolean, includeNotifications: boolean, use_unread_count: boolean): Promise<Chat & {
|
1549
1549
|
messages: Message[];
|
1550
|
-
}>;
|
1550
|
+
}[]>;
|
1551
1551
|
/**
|
1552
1552
|
* Retrieves all new Messages. where isNewMsg==true
|
1553
1553
|
* @returns list of messages
|
@@ -1740,6 +1740,12 @@ export declare class Client {
|
|
1740
1740
|
* @param {string} hex '#FFF123'
|
1741
1741
|
*/
|
1742
1742
|
setChatBackgroundColourHex(hex: string): Promise<boolean>;
|
1743
|
+
/**
|
1744
|
+
* Join or leave the wa web beta program. Will return true of operation was successful.
|
1745
|
+
*
|
1746
|
+
* @param {boolean} join true to join the beta, false to leave
|
1747
|
+
*/
|
1748
|
+
joinWebBeta(join: boolean): Promise<boolean>;
|
1743
1749
|
/**
|
1744
1750
|
*
|
1745
1751
|
* Start dark mode [NOW GENERALLY AVAILABLE]
|
@@ -149,6 +149,10 @@ export interface Message {
|
|
149
149
|
*/
|
150
150
|
clientUrl: string;
|
151
151
|
deprecatedMms3Url: string;
|
152
|
+
/**
|
153
|
+
* If this message is quoting (replying to) another message
|
154
|
+
*/
|
155
|
+
isQuotedMsgAvailable: boolean;
|
152
156
|
quotedMsg?: Message;
|
153
157
|
quotedMsgObj?: Message;
|
154
158
|
/**
|