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

Sending messages to hidden users (HiddenUserServer) #473

Open
poislagarde opened this issue Oct 10, 2023 · 4 comments
Open

Sending messages to hidden users (HiddenUserServer) #473

poislagarde opened this issue Oct 10, 2023 · 4 comments

Comments

@poislagarde
Copy link

WhatsApp sometimes hides the phone number when a user opens a chat with a business for the first time:

You can start a WhatsApp chat directly with a business through ads on Facebook and Instagram. In some cases, when you open a chat with a business for the first time, your phone number will be hidden from them by default for your privacy. This means that the business can’t see your phone number or call you at your phone number unless you choose to share it. When phone number hiding is enabled, you will see a system message alerting you of this in the chat.

Source: https://faq.whatsapp.com/626403979060997/?helpref=uf_share

The JID of these chats ends with @lid (the HiddenUserServer server).

Problem

I get the following error when trying to reply to one of these chats using Client.SendMessage:

can't send message to unknown server lid

@ezesculli
Copy link

Same thing here! Any fix for this?

@HermesMacedo
Copy link

This error. It's happening here too.

Any solution?

@mamur-rezeki
Copy link

Hidden chat server isn't implemented yet.

https://github.com/tulir/whatsmeow/blob/main/send.go#L194-L204

@david-botelho-mariano
Copy link

My error was:
Error sending message: failed to get device list: unknown user server 'lid'

And I fixed by restarting the entire program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants