@open-wa/wa-automate-types-only 4.59.0 → 4.61.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -525,6 +525,15 @@ export declare class Client {
525
525
  */
526
526
  forceUpdateLiveLocation(chatId: ChatId): Promise<LiveLocationChangedEvent[] | boolean>;
527
527
  /**
528
+ *
529
+ * @deprecated
530
+ *
531
+ * :::danger
532
+ *
533
+ * Buttons are broken for the foreseeable future. Please DO NOT get a license solely for access to buttons. They are no longer reliable due to recent changes at WA.
534
+ *
535
+ * :::
536
+ *
528
537
  * Test the button commands on MD accounts with an insiders key. This is a temporary feature to help fix issue #2658
529
538
  */
530
539
  testButtons(chatId: ChatId): Promise<any>;
@@ -578,7 +587,14 @@ export declare class Client {
578
587
  */
579
588
  sendPaymentRequest(to: ChatId, amount: number, currency: string, message?: string): Promise<boolean | MessageId>;
580
589
  /**
581
- * {@license:insiders@}
590
+ *
591
+ * @deprecated
592
+ *
593
+ * :::danger
594
+ *
595
+ * Buttons are broken for the foreseeable future. Please DO NOT get a license solely for access to buttons. They are no longer reliable due to recent changes at WA.
596
+ *
597
+ * :::
582
598
  *
583
599
  * Send generic quick reply buttons. This is an insiders feature for MD accounts.
584
600
  *
@@ -590,16 +606,17 @@ export declare class Client {
590
606
  */
591
607
  sendButtons(to: ChatId, body: string | LocationButtonBody, buttons: Button[], title?: string, footer?: string): Promise<boolean | MessageId>;
592
608
  /**
593
- * {@license:insiders@}
594
609
  *
595
- * Send advanced buttons with media body. This is an insiders feature for MD accounts.
610
+ * @deprecated
596
611
  *
597
- * :::caution
612
+ * :::danger
598
613
  *
599
- * Button messages are being progressively handicapped by recipient mobile devices. Some recipients may not see some types of button messages even though their devices will receive them.
614
+ * Buttons are broken for the foreseeable future. Please DO NOT get a license solely for access to buttons. They are no longer reliable due to recent changes at WA.
600
615
  *
601
616
  * :::
602
617
  *
618
+ * Send advanced buttons with media body. This is an insiders feature for MD accounts.
619
+ *
603
620
  * Body can be location, image, video or document. Buttons can be quick reply, url or call buttons.
604
621
  *
605
622
  * @param {ChatId} to chat id
@@ -620,7 +637,14 @@ export declare class Client {
620
637
  */
621
638
  sendBanner(to: ChatId, base64: Base64): Promise<boolean | MessageId>;
622
639
  /**
623
- * {@license:insiders@}
640
+ * @deprecated
641
+ *
642
+ *
643
+ * :::danger
644
+ *
645
+ * Buttons are broken for the foreseeable future. Please DO NOT get a license solely for access to buttons. They are no longer reliable due to recent changes at WA.
646
+ *
647
+ * :::
624
648
  *
625
649
  * Send a list message. This will not work when being sent from business accounts!
626
650
  *
@@ -1399,6 +1423,12 @@ export declare class Client {
1399
1423
  *
1400
1424
  * {@license:insiders@}
1401
1425
  *
1426
+ * :::danger
1427
+ *
1428
+ * Buttons are broken for the foreseeable future. Please DO NOT get a license solely for access to buttons. They are no longer reliable due to recent changes at WA.
1429
+ *
1430
+ * :::
1431
+ *
1402
1432
  * Use a raw payload within your open-wa session
1403
1433
  *
1404
1434
  * @param chatId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.59.0",
3
+ "version": "4.61.1",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",