Mensagem de localização
Exemplo de body recebido no webhook
Envio via Endpoint
{
"event": "MESSAGE",
"data": {
"message": {
"key": {
"remoteJid": "557999070094@s.whatsapp.net",//Número da conversa
"fromMe": true,// Propriedade que indica se a mensagem foi enviada pelo número conectado na instância
"id": "BAE584330F0B8E26"// ID da mensagem no WhatsApp
},
"message": {
"locationMessage": {// objeto com os dados da mensagem de localização
"degreesLatitude": -10.971348988,// latitude da mensagem
"degreesLongitude": -37.043178989,// longitude da mensagem
"address": "Seu endereço" //"legenda" da localização
}
},
"messageTimestamp": "1686838304",
"status": "PENDING"
},
"instanceId": 450
}
}
Recebimento
{
"event": "MESSAGE",
"data": {
"message": {
"key": {
"remoteJid": "557999070094@s.whatsapp.net",//Número da conversa
"fromMe": false,// Propriedade que indica se a mensagem foi enviada pelo número conectado na instância
"id": "8AC6C91C0CC6F309BC0298AAA663C1FC"// ID da mensagem no WhatsApp
},
"messageTimestamp": 1686838393,
"pushName": ".",
"message": {
"locationMessage": {
"degreesLatitude": -10.9692197,
"degreesLongitude": -37.0565709,
"jpegThumbnail": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAIQAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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hy4UUUHSQEzRM7+Ljy96KKKApAoHhyv8pIoooAKAc8z5niaWiigKKKKD//2Q=="
},
"messageContextInfo": {
"deviceListMetadata": {
"senderKeyHash": "AofW3u2YzeOX8g==",
"senderTimestamp": "1686702226",
"recipientKeyHash": "l7l0ggVb98ikLg==",
"recipientTimestamp": "1686834621"
},
"deviceListMetadataVersion": 2
}
}
},
"instanceId": 450
}
}
Last updated