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

Not able to send Contact #2680

Open
1 task done
Raunakriya opened this issue Dec 12, 2023 · 5 comments · May be fixed by #1995
Open
1 task done

Not able to send Contact #2680

Raunakriya opened this issue Dec 12, 2023 · 5 comments · May be fixed by #1995
Labels
bug Something isn't working

Comments

@Raunakriya
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I am trying to send contact in contact card formate. But not able to send.

Expected behavior

Want to Get contact in contact card formate.

Steps to Reproduce the Bug or Issue

  1. when I am sending a contact it goes to text formate.

Relevant Code

client.sendMessage(contactNo+ '@c.us',
'BEGIN:VCARD\n' +
'VERSION:3.0\n' +
'N:Ln;abc;;;\n' +
'FN:abcLn\n' +
'TEL;type=Mobile;waid=917491945069:+91 74919 45069\n' +
'END:VCARD',{
parseVCards: false
}

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Window
Phone OS: [Android, iOS]
whatsapp-web.js version [1.23.1-alpha.0]
WhatsApp Web version [run await client.getWWebVersion()]:
Node.js Version [v18.18.0]

Additional context

No response

@Raunakriya Raunakriya added the bug Something isn't working label Dec 12, 2023
@RC047
Copy link
Contributor

RC047 commented Dec 12, 2023

You can check this pulls #1995

@Raunakriya
Copy link
Author

You can check this pulls #1995

Ok Thanks , Is there any other way to fix it except node_modules .

@MuhammadAsad6889

This comment was marked as off-topic.

@Heracraft
Copy link

Anyone please help I'm facing this erorr IMG_20231214_023931_062

Your wid is invalid,
your probably passing a phone number directly but a WhatsApp ID is something like ${phoneNumber}@c.us eg. [email protected]

@alechkos alechkos linked a pull request Jan 17, 2024 that will close this issue
6 tasks
@videjunior
Copy link

You can check this pulls #1995

The proposed solution is no longer valid. The problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants