Location

📘

Location Messages are only Received

On Facebook Messenger, location messages cannot be sent however they can be received from the user, see Receive Message webhooks.

{
  "channel": { ... },
  "contact": { ... },
  "content": {
    "type": "location",
    "payload": {
      "latitude": 50.0902163,
      "longitude": 14.3973905
    }
  }
}
ParameterTypeDescription
content.typestringMessage type location.
content.payload.latitudedoubleLocation sent by user - latitude.
content.payload.longitudedoubleLocation sent by user -
longitude.