Replies: 6 comments
-
|
também estou passando pelo mesmo problema. Descrição curta: Mensagens privadas enviadas por contas que foram convertidas para Business chegam ao webhook com payload.from terminando em@lid(e _data.id.remote também), impedindo resposta direta via chatId. Mensagens de grupo chegam corretamente como @g.us. Mensagens de contatos pessoais chegam como @c.us estou usando a última imagem disponível. o que já tentei? usar uma conta de WhatsApp empresarial na sessão encontrou alguma solução ? |
Beta Was this translation helpful? Give feedback.
-
I'm also going through the same problem. Short description: Private messages sent by accounts that were converted to Business arrive at the webhook with payload.from ending in @lid (and _data.id.remote as well), preventing direct response via chatId. Group messages correctly arrive as @g.us. Messages from personal contacts arrive as @c.us I'm using the latest image available. What have I tried? use a business WhatsApp account in the session Did you find any solution? |
Beta Was this translation helpful? Give feedback.
-
|
erro_mensagem_privada.json arquivos dos testes |
Beta Was this translation helpful? Give feedback.
-
erro_mensagem_privada.json test files |
Beta Was this translation helpful? Give feedback.
-
|
resolvido def conversor_lid_message(self):
`id = self.data['payload']['from']
lid_encoded = lid.replace("@", "%40")
headers = {"Content-type": "application/json", "X-Api-Key": API_KEY }
resposta = requests.get(f"http://waha:3000/api/{self.session}/lids/{lid_encoded}",headers=headers) |
Beta Was this translation helpful? Give feedback.
-
|
I never fork any repositories here in github before those before times somehow confuse me specially when it comes to API as I'm so entry level like lower than a a kindergarten. I just depend on the first module that I even forgot that I've somehow learn on C languages the base of protocols correct me if I'm wrong, been trying to apply it in most language and issues I encounter specially in handling multiple accounts. But these days I'm having issues with the sync. function of data's created under Microsoft, Google , Linux and Windows under a single management my collection of accounts somehow gives issues on authenticating a primary management user or should I say me as the owner. Multiple access of devices that somehow get even corrupted by some malicious content or link affects a lot on the security authentication access of the main user or the "owner" specially if there's a meticulously plan malicious intent to disrupt the security of a collective cloud file. Knowing I'm just on entry level I really fell overwhelmed on the security problem issues when it comes to managing a virtual cloud infrastructure type of business. All sides are always a possible threat now I understand somehow the advantage of github and some flatforms now I felt more worried on the security protocols it easily can be broken by someone who can become so familiar to it. Now I will try to fork and use the first whatsapp API here on GITHUB. Will see what really can a github environment can give to someone like me having a long process of transitioning from prep. so kindergaten in this digital world of developing. Anyone there can advice a robust WhatsApp api repo. would love to try anyone can suggest. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
version: '2025.10.4',
engine: 'NOWEB',
tier: 'PLUS',
I’ve been experimenting with the label feature and noticed some confusing behavior. I found that I can set and get labels for a completely non-existent chat ID. Even if I make up a random chat ID, I can still assign a label to it and later retrieve it successfully. I then tried using the same label feature on a regular WhatsApp account (not WhatsApp Business). I expected it to fail, since labeling is supposed to be a Business feature — but it actually worked. However, each time I get logged out and log back in, all labels are reset. Occasionally, right after calling the label API, I get automatically logged out from WhatsApp.
Now I have a few questions:
Thanks in advance for any insights!
EDIT
This post describes how labels only apply when the chat ID (JID) ends with @lid, not @c.us.
They mention a workaround:
I tried the same approach — using the @lid ID — but I still can't get the label to work
Beta Was this translation helpful? Give feedback.
All reactions