@open-wa/wa-automate-types-only 4.32.0 → 4.32.3
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 +11 -1
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -689,9 +689,13 @@ export declare class Client {
|
|
689
689
|
*/
|
690
690
|
getSnapshot(): Promise<DataURL>;
|
691
691
|
/**
|
692
|
-
* Returns an array of group ids where the host
|
692
|
+
* Returns an array of group ids where the host account is admin
|
693
693
|
*/
|
694
694
|
iAmAdmin(): Promise<GroupChatId[]>;
|
695
|
+
/**
|
696
|
+
* Returns an array of group ids where the host account has been kicked
|
697
|
+
*/
|
698
|
+
getKickedGroups(): Promise<GroupChatId[]>;
|
695
699
|
/**
|
696
700
|
* Syncs contacts with phone. This promise does not resolve so it will instantly return true.
|
697
701
|
*/
|
@@ -752,6 +756,12 @@ export declare class Client {
|
|
752
756
|
* @param {boolean} on turn on similated typing, false to turn it off you need to manually turn this off.
|
753
757
|
*/
|
754
758
|
simulateTyping(to: ChatId, on: boolean): Promise<boolean>;
|
759
|
+
/**
|
760
|
+
* Simulate '...recording' in chat
|
761
|
+
* @param {string} to 'xxxx@c.us'
|
762
|
+
* @param {boolean} on turn on similated recording, false to turn it off you need to manually turn this off.
|
763
|
+
*/
|
764
|
+
simulateRecording(to: ChatId, on: boolean): Promise<boolean>;
|
755
765
|
/**
|
756
766
|
* @param id The id of the conversation
|
757
767
|
* @param archive boolean true => archive, false => unarchive
|