@open-wa/wa-automate-types-only 4.35.10 → 4.35.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/Client.d.ts +9 -0
- package/package.json +1 -1
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
|
@@ -701,6 +705,11 @@ export declare class Client {
|
|
701
705
|
* @returns `Promise<DataURL>`
|
702
706
|
*/
|
703
707
|
getSnapshot(chatId?: ChatId): Promise<DataURL>;
|
708
|
+
/**
|
709
|
+
* Returns some metrics of the session/page.
|
710
|
+
* @returns `Promise<any>`
|
711
|
+
*/
|
712
|
+
metrics(): Promise<any>;
|
704
713
|
/**
|
705
714
|
* Returns an array of group ids where the host account is admin
|
706
715
|
*/
|