whatsapp-web.js
whatsapp-web.js copied to clipboard
Sending vCard Broken Wa-Web v2.2307.7
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
client.sendMessage(message.from, vCard);
is no longer working with the 'classic' format:
vCard:
BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD
result:
Chromium, whatsapp business.
Expected behavior
Steps to Reproduce the Bug or Issue
let vCard =`
BEGIN:VCARD
VERSION:3.0
FN:Contact Name
ORG:Subtitle inside contact card;
TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555
END:VCARD
`
client.sendMessage(message.from, vCard);
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows
Phone OS: Android 8
whatsapp-web.js version : v1.19.4
WhatsApp Web version : v2.2307.7
Node.js Version 19.0.0
Additional context
No response
Is there an existing issue for this?
- [x] I have searched the existing issues
Describe the bug
client.sendMessage(message.from, vCard);
is no longer working with the 'classic' format:vCard:
BEGIN:VCARD VERSION:3.0 FN:Contact Name ORG:Subtitle inside contact card; TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555 END:VCARD
result:
Chromium, whatsapp business.
Expected behavior
Steps to Reproduce the Bug or Issue
let vCard =` BEGIN:VCARD VERSION:3.0 FN:Contact Name ORG:Subtitle inside contact card; TEL;type=CELL;type=VOICE;waid=554088885555:+55 40 8888-5555 END:VCARD ` client.sendMessage(message.from, vCard);
Relevant Code
No response
Browser Type
Chromium
WhatsApp Account Type
WhatsApp Business
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
OS: Windows Phone OS: Android 8 whatsapp-web.js version : v1.19.4 WhatsApp Web version : v2.2307.7 Node.js Version 19.0.0
Additional context
No response
Try this #1995