Wa-automate-nodejs: sendContact is not working

Created on 30 Jul 2020  路  10Comments  路  Source: open-wa/wa-automate-nodejs

Hi Guys, sendContact function is not working: window.WAPI.getChat(...).sendContact is not a function
Some idea?
Version of whatsapp web: 2.2031.4

bug

Most helpful comment

Fix incoming

All 10 comments

@alpires new version. Will look into it by tomorrow

Fix incoming

@smashah some news about this issue?

@alpires I'm currently working on the docs so you can inject the fix using a patch key

https://gumroad.com/l/BTMt?tier=Patches%20Only (I'm just using this as the mechanism to patch OTA instead of releasing a new version. It is completely free).

PLEASE MAKE SURE TO ENTER YOUR CORRECT HOST ACCOUNT NUMBER IN THE CHECKOUT FORM. Please make sure to NOT add + or @c.us.

If you don't know the host account number use this:

const hostAccNo = await client.getHostNumber();
console.log('hostAccNo',hostAccNo)

Not work sendContact..

Next version will have the patch built in

Thank you, is there any ETA?

Implemented in v2.0.0 f8ed576 @tinyCoder32 @alpires @mikelustosa @apnerve

You no longer need to use gumroad for patches. They will now be fetched from GitHub.

Implemented in v2.0.0 f8ed576 @tinyCoder32 @alpires @mikelustosa @apnerve

You no longer need to use gumroad for patches. They will now be fetched from GitHub.

SendContact not working with https://raw.githubusercontent.com/open-wa/wa-automate-nodejs/master/src/lib/wapi.js

Is there any solution? Thanks.

@mikelustosa sendContact is fixed with a patch, not in wapi. It works with v 2 of this library

Was this page helpful?
0 / 5 - 0 ratings