wa-automate-nodejs
wa-automate-nodejs copied to clipboard
sendLinkWithAutoPreview error if do not have a license, but if have a license no error
Are you using the latest version of the library?
- [X] I have checked and am using the latest version of the library.
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Personal account (normal)
Mode
EASY API/CLI
Current Behavior
i call sendLinkWithAutoPreview method, then response from api { "success": true }, but not give callback
Expected Behavior
i call sendLinkWithAutoPreview method, then response from api { "success": true }, it should give callback
Steps To Reproduce
path/method: /sendLinkWithAutoPreview body: { "args": { "to": "[email protected]", "url": "https://www.txxxxa.com/id/r-1122001", "text": "Hello World!" } }
create() code OR full CLI command + CONFIG
npx @open-wa/wa-automate -p 8321 --popup --auth-timeout 0 --qr-timeout 0 -w 'http://localhost/xxx' -k 'xxxxx' --cache-enabled false --use-chrome
DEBUG INFO
{
"WA_VERSION": "2.2320.10",
"WA_AUTOMATE_VERSION": "4.42.4 UPDATE AVAILABLE: 4.66.0",
"BROWSER_VERSION": "HeadlessChrome/91.0.4472.77",
"START_TS": 1684198005694,
"RAM_INFO": "Total: 67.51 GB | Free: 3.10 GB",
"PPTR_VERSION": "UNKNOWN",
"LATEST_VERSION": false,
"CLI": true,
"PATCH_HASH": "e100e",
"LAUNCH_TIME_MS": 16399,
"ACC_TYPE": "PERSONAL",
"chats": 16,
"messages": 16,
"contacts": 51,
"isMd": true,
"INSTANCE_ID": "ba4fac8f-07f0-433a-a5b9-3e2a086a8857"
}
Environment
- OS: Linux 3.14
- Node: 14.18.3
- npm: 6.14.15
Screenshots/Logs
No response
Anything else?
No response