@open-wa/wa-automate 4.35.11 → 4.35.12
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api/Client.d.ts
CHANGED
@@ -453,6 +453,10 @@ export declare class Client {
|
|
453
453
|
* @returns `Promise<LiveLocationChangedEvent []>` | boolean
|
454
454
|
*/
|
455
455
|
forceUpdateLiveLocation(chatId: ChatId): Promise<LiveLocationChangedEvent[] | boolean>;
|
456
|
+
/**
|
457
|
+
* Test the button commands on MD accounts with an insiders key. This is a temporary feature to help fix issue #2658
|
458
|
+
*/
|
459
|
+
testButtons(chatId: ChatId): Promise<any>;
|
456
460
|
private link;
|
457
461
|
/**
|
458
462
|
* Sends a text message to given chat
|
package/dist/api/Client.js
CHANGED
@@ -1197,6 +1197,14 @@ class Client {
|
|
1197
1197
|
return yield this.pup(({ chatId }) => WAPI.forceUpdateLiveLocation(chatId), { chatId });
|
1198
1198
|
});
|
1199
1199
|
}
|
1200
|
+
/**
|
1201
|
+
* Test the button commands on MD accounts with an insiders key. This is a temporary feature to help fix issue #2658
|
1202
|
+
*/
|
1203
|
+
testButtons(chatId) {
|
1204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1205
|
+
return yield this.pup(({ chatId }) => WAPI.testButtons(chatId), { chatId });
|
1206
|
+
});
|
1207
|
+
}
|
1200
1208
|
link(params) {
|
1201
1209
|
var _a;
|
1202
1210
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED