@open-wa/wa-automate-types-only 4.33.1 → 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,9 +523,11 @@ 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
532
  * Sends a link to a chat that includes a link preview.
531
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
@@ -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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate-types-only",
3
- "version": "4.33.1",
3
+ "version": "4.33.2",
4
4
  "description": "Types generated from the @open-wa/wa-automate package",
5
5
  "scripts": {
6
6
  "build": "tsc",