@open-wa/wa-automate-types-only 4.32.17 → 4.33.2

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.
@@ -523,11 +523,12 @@ export declare class Client {
523
523
  * @param groupId group chat id: `xxxxx@g.us`
524
524
  * @param content text message to add under all of the tags
525
525
  * @param hideTags Removes all tags within the message
526
+ * @param formatting The formatting of the tags. Use @mention to indicate the actual tag. @default `@mention `
527
+ * @param messageBeforeTags set to `true` to show the message before all of the tags
526
528
  * @returns `Promise<MessageId>`
527
529
  */
528
- tagEveryone(groupId: GroupChatId, content: Content, hideTags?: boolean): Promise<boolean | MessageId>;
530
+ tagEveryone(groupId: GroupChatId, content: Content, hideTags?: boolean, formatting?: string, messageBeforeTags?: boolean): Promise<boolean | MessageId>;
529
531
  /**
530
- * @deprecated Use [[sendLinkWithAutoPreview]] instead
531
532
  * Sends a link to a chat that includes a link preview.
532
533
  * @param thumb The base 64 data of the image you want to use as the thunbnail. This should be no more than 200x200px. Note: Dont need data url on this param
533
534
  * @param url The link you want to send
@@ -752,6 +752,12 @@ export interface ConfigObject {
752
752
  * [Check this discussion to see how to set up logging](https://github.com/open-wa/wa-automate-nodejs/discussions/2373)
753
753
  */
754
754
  logging?: ConfigLogTransport[];
755
+ /**
756
+ * The URL of your instance of [serverless meta grabber](https://github.com/RemiixInc/meta-grabber-serverless) by [RemiixInc](https://github.com/RemiixInc).
757
+ *
758
+ * default: `https://link.openwa.cloud/api`
759
+ */
760
+ linkParser?: string;
755
761
  /**@internal */
756
762
  [x: string]: any;
757
763
  }
@@ -1,4 +1,4 @@
1
- import { ChatId, MessageId } from "./aliases";
1
+ import { ChatId, ContactId, MessageId } from "./aliases";
2
2
  import { Button, Row, Section } from "./button";
3
3
  import { Chat } from "./chat";
4
4
  import { Contact } from "./contact";
@@ -84,7 +84,7 @@ export interface Message {
84
84
  /**
85
85
  * An array of all mentioned numbers in this message.
86
86
  */
87
- mentionedJidList: string[];
87
+ mentionedJidList: ContactId[];
88
88
  /**
89
89
  * If the message is of a media type, it may also have a caption
90
90
  */
@@ -19,7 +19,6 @@ export declare const isDataURL: (s: string) => boolean;
19
19
  * A convinience method to download the [[DataURL]] of a file
20
20
  * @param url The url
21
21
  * @param optionsOverride You can use this to override the [axios request config](https://github.com/axios/axios#request-config)
22
- * @returns Promise<DataURL>
23
22
  */
24
23
  export declare const getDUrl: (url: string, optionsOverride?: AxiosRequestConfig) => Promise<DataURL>;
25
24
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.32.17",
3
+ "version": "4.33.2",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",