pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.55k stars 3.7k forks source link

Send VCard of business account #2327

Open hcfw007 opened 1 year ago

hcfw007 commented 1 year ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

When sending a business account, originally whatsapp-web.js wil send it just as a normal contact. Like this:

image

If we go to the contact checkout it's homepage, we can actually get the business account infomation to assemble the correct vCard.

image image

The problem is, I cannot get the info (especially description and name) before I checked store homepage.

image

Describe the solution you'd like.

Get business account description without talking to it. I can get name with queryExists, but not description.

image

Describe an alternate solution.

No response

Additional context

No response

FabiolaBaani commented 1 year ago

I´m just getting trouble to send a simple vcard msg like your first image :-(