42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.47k stars 609 forks source link

Add support for whatsapp contacts #1457

Open flossgeek opened 3 years ago

flossgeek commented 3 years ago

Is your feature request related to a problem? Please describe. At the moment I can only bridge group chats from whatsapp. Giving the JID code of a contact in the form [country code + phone number]@s.whatsapp.net results in an error: please specify group's JID from the list above instead of the name X@whatsapp.net. Those group chats are of the form X@g.us.

Describe the solution you'd like The possibility of bridging whatsapp contacts is essential and shouldn't be too much work, since one of the used libraries already supports it: https://github.com/Rhymen/go-whatsapp. Adding support for the JID codes of plain phone numbers would be a big step forward.

lucasemmoreira commented 6 months ago

I also would like to bridge single contacts. I tried using the JID code suggested with no luck. Does anyone know if it is only a matter of finding the correct whatsmeow JID?