@open-wa/wa-automate-types-only 4.32.16 → 4.33.1
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
|
@@ -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
|
}
|
package/dist/utils/tools.d.ts
CHANGED
@@ -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
|
/**
|