@open-wa/wa-automate 4.35.4 → 4.35.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/dist/api/Client.d.ts +2 -2
- package/dist/api/Client.js +1 -1
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
|
@@ -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
|
|
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
|
*
|
package/dist/api/Client.js
CHANGED
|
@@ -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