@open-wa/wa-automate-types-only 4.35.7 → 4.35.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -13,6 +13,7 @@ export interface SessionInfo {
13
13
  OW_KEY?: string;
14
14
  INSTANCE_ID?: string;
15
15
  RAM_INFO?: string;
16
+ PPTR_VERSION?: string;
16
17
  LATEST_VERSION?: boolean;
17
18
  CLI?: boolean;
18
19
  ACC_TYPE?: 'PERSONAL' | 'BUSINESS';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.35.7",
3
+ "version": "4.35.10",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",