@open-wa/wa-automate 4.35.4 → 4.35.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -485,7 +485,7 @@ export declare class Client {
485
485
  */
486
486
  sendPaymentRequest(to: ChatId, amount: number, currency: string, message?: string): Promise<boolean | MessageId>;
487
487
  /**
488
- * Send generic quick reply buttons
488
+ * Send generic quick reply buttons. This is an insiders feature for MD accounts.
489
489
  *
490
490
  * @param {ChatId} to chat id
491
491
  * @param {string} body The body of the buttons message
@@ -493,7 +493,7 @@ export declare class Client {
493
493
  * @param {string} title The title/header of the buttons message
494
494
  * @param {string} footer The footer of the buttons message
495
495
  */
496
- sendButtons(to: ChatId, body: string, buttons: Button[], title: string, footer?: string): Promise<boolean | MessageId>;
496
+ sendButtons(to: ChatId, body: string, buttons: Button[], title?: string, footer?: string): Promise<boolean | MessageId>;
497
497
  /**
498
498
  * Send a banner image
499
499
  *
@@ -1272,7 +1272,7 @@ class Client {
1272
1272
  });
1273
1273
  }
1274
1274
  /**
1275
- * Send generic quick reply buttons
1275
+ * Send generic quick reply buttons. This is an insiders feature for MD accounts.
1276
1276
  *
1277
1277
  * @param {ChatId} to chat id
1278
1278
  * @param {string} body The body of the buttons message
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.35.4",
3
+ "version": "4.35.5",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",