@open-wa/wa-automate-types-only 4.65.0 → 4.66.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api/Client.d.ts
CHANGED
@@ -589,13 +589,15 @@ export declare class Client {
|
|
589
589
|
sendPaymentRequest(to: ChatId, amount: number, currency: string, message?: string): Promise<boolean | MessageId>;
|
590
590
|
/**
|
591
591
|
*
|
592
|
-
*
|
592
|
+
* @deprecated
|
593
593
|
*
|
594
594
|
* :::danger
|
595
595
|
*
|
596
596
|
* WA BIZ accounts CANNOT send buttons. This is a WA limitation. DO NOT get a license solely for access to buttons on wa business accounts.
|
597
597
|
* THIS IS NOT WORKING FOR GROUPS YET.
|
598
598
|
*
|
599
|
+
* BUTTONS ARE DEPRECATED FOR NOW. DO NOT GET A LICENSE TO USE BUTTONS.
|
600
|
+
*
|
599
601
|
* :::
|
600
602
|
*
|
601
603
|
* Send generic quick reply buttons. This is an insiders feature for MD accounts.
|
@@ -608,8 +610,7 @@ export declare class Client {
|
|
608
610
|
*/
|
609
611
|
sendButtons(to: ChatId, body: string | LocationButtonBody, buttons: Button[], title?: string, footer?: string): Promise<boolean | MessageId>;
|
610
612
|
/**
|
611
|
-
*
|
612
|
-
* {@license:insiders@}
|
613
|
+
* @deprecated
|
613
614
|
*
|
614
615
|
* :::danger
|
615
616
|
*
|
@@ -618,6 +619,8 @@ export declare class Client {
|
|
618
619
|
*
|
619
620
|
* THIS IS NOT WORKING FOR GROUPS YET.
|
620
621
|
*
|
622
|
+
* ADVANCED ARE DEPRECATED FOR NOW. DO NOT GET A LICENSE TO USE BUTTONS.
|
623
|
+
*
|
621
624
|
* :::
|
622
625
|
*
|
623
626
|
*
|
@@ -644,13 +647,15 @@ export declare class Client {
|
|
644
647
|
sendBanner(to: ChatId, base64: Base64): Promise<boolean | MessageId>;
|
645
648
|
/**
|
646
649
|
*
|
647
|
-
*
|
650
|
+
* @deprecated
|
648
651
|
*
|
649
652
|
* :::danger
|
650
653
|
*
|
651
654
|
* It is not currently possible to send a listmessage to a group chat. This is a WA limitation.
|
652
655
|
* Please DO NOT get a license solely for access to list messages in group chats.
|
653
656
|
*
|
657
|
+
* LIST MESSAGES ARE DEPRECATED TILL FURTHER NOTICE
|
658
|
+
*
|
654
659
|
* :::
|
655
660
|
*
|
656
661
|
* Send a list message. This will not work when being sent from business accounts!
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*
|
6
6
|
* Please see: https://discord.js.org/#/docs/main/stable/class/Collector
|
7
7
|
*/
|
8
|
-
import BaseCollection from '@discordjs/collection';
|
8
|
+
import { Collection as BaseCollection } from '@discordjs/collection';
|
9
9
|
import { EventEmitter } from 'events';
|
10
10
|
export declare class Collection<K, V> extends BaseCollection<K, V> {
|
11
11
|
toJSON(): any[];
|
package/dist/utils/tools.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
/// <reference types="node" />
|
3
3
|
/// <reference types="node" />
|
4
4
|
import { AdvancedFile, ConfigObject, DataURL } from '../api/model';
|
5
|
-
import { AxiosRequestConfig
|
5
|
+
import { AxiosRequestConfig } from 'axios';
|
6
6
|
import { SessionInfo } from '../api/model/sessionInfo';
|
7
7
|
import { Readable } from "stream";
|
8
8
|
export declare const timeout: (ms: any) => Promise<unknown>;
|
@@ -39,7 +39,7 @@ export declare const isDataURL: (s: string) => boolean;
|
|
39
39
|
* @param url The url
|
40
40
|
* @param optionsOverride You can use this to override the [axios request config](https://github.com/axios/axios#request-config)
|
41
41
|
*/
|
42
|
-
export declare const getBufferFromUrl: (url: string, optionsOverride?:
|
42
|
+
export declare const getBufferFromUrl: (url: string, optionsOverride?: any) => Promise<[Buffer, any]>;
|
43
43
|
/**
|
44
44
|
* @internal
|
45
45
|
* A convinience method to download the [[DataURL]] of a file
|