@open-wa/wa-automate-types-only 4.32.15 → 4.33.0
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
CHANGED
@@ -527,7 +527,6 @@ export declare class Client {
|
|
527
527
|
*/
|
528
528
|
tagEveryone(groupId: GroupChatId, content: Content, hideTags?: boolean): Promise<boolean | MessageId>;
|
529
529
|
/**
|
530
|
-
* @deprecated Use [[sendLinkWithAutoPreview]] instead
|
531
530
|
* Sends a link to a chat that includes a link preview.
|
532
531
|
* @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
532
|
* @param url The link you want to send
|
@@ -1064,13 +1063,20 @@ export declare class Client {
|
|
1064
1063
|
* @param messageId Message ID of the message you want to star
|
1065
1064
|
* @returns `true`
|
1066
1065
|
*/
|
1067
|
-
starMessage(messageId
|
1066
|
+
starMessage(messageId: MessageId): Promise<boolean>;
|
1068
1067
|
/**
|
1069
1068
|
* Unstar a message
|
1070
1069
|
* @param messageId Message ID of the message you want to unstar
|
1071
1070
|
* @returns `true`
|
1072
1071
|
*/
|
1073
|
-
unstarMessage(messageId
|
1072
|
+
unstarMessage(messageId: MessageId): Promise<boolean>;
|
1073
|
+
/**
|
1074
|
+
* React to a message
|
1075
|
+
* @param messageId Message ID of the message you want to react to
|
1076
|
+
* @param emoji 1 single emoji to add to the message as a reacion
|
1077
|
+
* @returns boolean
|
1078
|
+
*/
|
1079
|
+
react(messageId: MessageId, emoji: string): Promise<boolean>;
|
1074
1080
|
/**
|
1075
1081
|
*
|
1076
1082
|
* [REQUIRES AN INSIDERS LICENSE-KEY](https://gum.co/open-wa?tier=Insiders%20Program)
|
@@ -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
|
}
|