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

sendLocation() is not working #1237

Closed
hardik323 opened this issue Jul 27, 2022 · 5 comments
Closed

sendLocation() is not working #1237

hardik323 opened this issue Jul 27, 2022 · 5 comments
Assignees
Labels
bug Something isn't working needs triage

Comments

@hardik323
Copy link

I am using following code to send location, but it is not working.
await client.sendLocation('91xxxxxxxxxx@c.us', {lat: '37.090240', lng:'-95.712891'})

@hardik323 hardik323 added bug Something isn't working needs triage labels Jul 27, 2022
@hardik323
Copy link
Author

Even I am sending address, will also not work.

@etc-tiago
Copy link

More details about the problem.
Response:

{
  "ack": 1,
  "id": "true_0000000000@c.us_xxxxxxxxxxxxxxxxxxxx",
  "sendMsgResult": "OK"
}

On headless:false

Captura de Tela 2022-07-29 às 18 26 48

@edgardmessias edgardmessias self-assigned this Jul 30, 2022
@etc-tiago
Copy link

In my investigation, WhatsApp web no longer shows the location send button... could this be the reason for the problem?

@edgardmessias
Copy link
Contributor

I fixed it at wa-js, so, wait for wa-js update

@edgardmessias
Copy link
Contributor

Please, update the wa-js to 2.9.0

Command: npm install @wppconnect/wa-js@latest

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

No branches or pull requests

3 participants