@open-wa/wa-automate-types-only 4.35.6 → 4.35.9
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 -3
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -467,13 +467,12 @@ export declare class Client {
|
|
467
467
|
* "@4474747474747 how are you?"
|
468
468
|
* Basically, add a @ symbol before the number of the contact you want to mention.
|
469
469
|
*
|
470
|
-
* Please note that the hideTag parameter only works with an Insider's License Key
|
471
|
-
*
|
472
470
|
* @param to chat id: `xxxxx@c.us`
|
473
471
|
* @param content text message
|
474
472
|
* @param hideTags Removes all tags within the message
|
473
|
+
* @param mentions You can optionally add an array of contact IDs to tag only specific people
|
475
474
|
*/
|
476
|
-
sendTextWithMentions(to: ChatId, content: Content, hideTags?: boolean): Promise<boolean | MessageId>;
|
475
|
+
sendTextWithMentions(to: ChatId, content: Content, hideTags?: boolean, mentions?: ContactId[]): Promise<boolean | MessageId>;
|
477
476
|
/**
|
478
477
|
* [UNTESTED - REQUIRES FEEDBACK]
|
479
478
|
* Sends a payment request message to given chat
|