@open-wa/wa-automate-types-only 4.64.5 → 4.65.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1539,7 +1539,7 @@ export declare class Client {
1539
1539
  */
1540
1540
  checkNumberStatus(contactId: ContactId): Promise<NumberCheck>;
1541
1541
  /**
1542
- * Retrieves all undread Messages
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]
@@ -52,8 +52,8 @@ export interface GroupMetadata {
52
52
  */
53
53
  isParentGroup?: boolean;
54
54
  /**
55
- * The type of group
56
- */
55
+ * The type of group
56
+ */
57
57
  groupType: 'DEAFULT' | 'SUBGROUP' | 'COMMUNITY';
58
58
  /**
59
59
  * Communities have a default group chat
@@ -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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.64.5",
3
+ "version": "4.65.0",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",