@open-wa/wa-automate-types-only 4.42.0 → 4.42.3
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 +3 -1
- package/dist/connect/socket.d.ts +1 -1
- package/package.json +1 -1
package/dist/api/Client.d.ts
CHANGED
@@ -570,8 +570,10 @@ export declare class Client {
|
|
570
570
|
* @param to chat id: `xxxxx@c.us`
|
571
571
|
* @param content text message
|
572
572
|
* @param replyMessageId id of message to reply to
|
573
|
+
* @param hideTags Removes all tags within the message
|
574
|
+
* @param mentions You can optionally add an array of contact IDs to tag only specific people
|
573
575
|
*/
|
574
|
-
sendReplyWithMentions(to: ChatId, content: Content, replyMessageId: MessageId): Promise<boolean | MessageId>;
|
576
|
+
sendReplyWithMentions(to: ChatId, content: Content, replyMessageId: MessageId, hideTags?: boolean, mentions?: ContactId[]): Promise<boolean | MessageId>;
|
575
577
|
/**
|
576
578
|
* [REQUIRES AN INSIDERS LICENSE-KEY](https://gum.co/open-wa?tier=Insiders%20Program)
|
577
579
|
*
|
package/dist/connect/socket.d.ts
CHANGED
@@ -67,7 +67,7 @@ export declare class SocketClient {
|
|
67
67
|
};
|
68
68
|
};
|
69
69
|
/**
|
70
|
-
* The main way to create the socket
|
70
|
+
* The main way to create the socket based client.
|
71
71
|
* @param url URL of the socket server (i.e the EASY API instance address)
|
72
72
|
* @param apiKey optional api key if set
|
73
73
|
* @returns SocketClient
|