devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
806 stars 247 forks source link

[BUG][NOWEB + WEBJS] - Receive Location in dedicated message - message.location (one time + live updates) #368

Open borsatti2 opened 3 weeks ago

borsatti2 commented 3 weeks ago

When someone sends location, only a message.any notification will arrive, but without content

patron:PRO

devlikepro commented 2 weeks ago

@borsatti2 hi! Do you see the data in path payload._data.message.locationMessage and fields degreesLatitude and degreesLongitude? image

If not - could you send the payload you get in discord :pray:

patron:PRO

devlikepro commented 2 weeks ago

I agree that we should add message.location for both live and one time location tho, we'll do that

patron:PRO

devlikepro commented 2 weeks ago

Tested with 2024.6.2 - no issue with location messages

patron:PRO

devlikepro commented 2 weeks ago

My bad, forgot that we should add message.location

patron:PRO