@open-wa/wa-automate-types-only 4.36.2 → 4.36.5
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api/Client.d.ts
CHANGED
@@ -386,12 +386,13 @@ export declare class Client {
|
|
386
386
|
* Send VCARD
|
387
387
|
*
|
388
388
|
* @param {string} chatId '000000000000@c.us'
|
389
|
-
* @param {string} vcard vcard as a string
|
390
|
-
* @param {string} contactName The display name for the contact.
|
389
|
+
* @param {string} vcard vcard as a string, you can send multiple contacts vcard also.
|
390
|
+
* @param {string} contactName The display name for the contact. Ignored on multiple vcards
|
391
391
|
* @param {string} contactNumber If supplied, this will be injected into the vcard (VERSION 3 ONLY FROM VCARDJS) with the WA id to make it show up with the correct buttons on WA. The format of this param should be including country code, without any other formating. e.g:
|
392
392
|
* `4477777777777`
|
393
|
+
* Ignored on multiple vcards
|
393
394
|
*/
|
394
|
-
sendVCard(chatId: ChatId, vcard: string, contactName
|
395
|
+
sendVCard(chatId: ChatId, vcard: string, contactName?: string, contactNumber?: string): Promise<boolean>;
|
395
396
|
/**
|
396
397
|
* Set your profile name
|
397
398
|
*
|
@@ -17,7 +17,7 @@ export declare function getPatch(config: ConfigObject, spinner?: Spin, sessionIn
|
|
17
17
|
export declare function injectLivePatch(page: Page, patch: {
|
18
18
|
data: any;
|
19
19
|
tag: string;
|
20
|
-
}, spinner?: Spin): Promise<
|
20
|
+
}, spinner?: Spin): Promise<string>;
|
21
21
|
/**
|
22
22
|
* @private
|
23
23
|
*/
|