Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendFile() no longer working. All functions that use SendFile() no longer work. No errors. #3241

Open
1 task done
TVARecordings opened this issue Aug 31, 2024 · 0 comments

Comments

@TVARecordings
Copy link

Are you using the latest version of the library?

  • 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?

Business account

Mode

EASY API/CLI

Current Behavior

Where 'dem files at, boyyyyy.

Expected Behavior

I expected some mail... (a file)

Steps To Reproduce

await client.sendFile(from, any filepath, no matter what, 'caption')

create() code OR full CLI command + CONFIG

const configObject = {
  sessionId: 'AmecaCore',
  authTimeout: 0,
  blockCrashLogs: true, // Setting this to true will block any network calls to crash log servers. This should keep anything you do under the radar. Def: true
  cacheEnabled: true, // Setting this to false turn off the cache. This may improve memory usage.
  cachedPatch: true, // Setting this to true will save a local copy of the patches.json file (as patches.ignore.data.json) which will be used in subsequent instantiations of the session.
  callTimeout: 1200000, // Amount of time (in ms) to wait for a client method (specifically methods that interact with the WA web session) to resolve.   
  discord: 'MINE',
  ezqr: true,
  headless: true,
  licenseKey: "MINE"
  linkParser: "https://link.openwa.cloud/api",
  logFile: false,
  messagePreprocessor: "AUTO_DECRYPT", //"AUTO_DECRYPT","SCRUB"
  onError: "LOG_AND_FALSE",
  popup: false,
  qrTimeout: 0,
  useChrome: true,
  waitForRipeSessionTimeout: 0,
  killProcessOnBan: true,
  screenshotOnInitializationBrowserError: false,
  //debug: true,
  //disableSpins: true,
  //logging: [{
  //type: "console"
  //}],
  //logInternalEvents: true, //ONLY TURN THIS ON IF ASKED TO!
  //logConsoleErrors: true,
};

DEBUG INFO

{
  "WA_VERSION": "2.3000.1016135666",
  "WA_AUTOMATE_VERSION": "4.72.1 UPDATE AVAILABLE: 4.72.2",
  "BROWSER_VERSION": "Chrome/128.0.6613.113",
  "START_TS": 1725118797012,
  "RAM_INFO": "Total: 68.62 GB | Free: 47.77 GB",
  "PPTR_VERSION": "19.11.1",
  "LATEST_VERSION": false,
  "CLI": false,
  "PATCH_HASH": "CACHED-9530e",
  "LAUNCH_TIME_MS": 8514,
  "ACC_TYPE": "BUSINESS",
  "chats": 39,
  "messages": 80,
  "contacts": 5831,
  "isBiz": true,
  "isMd": true,
  "INSTANCE_ID": "6adf90bb-d58f-4537-8c55-0cf8a59c7040"
}

Environment

- OS: Windows 10
- Node: 20.16.0
- npm: 10.8.2

Screenshots/Logs

No response

Anything else?

You're a hero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant