Actions32
- Account Actions
- Group Actions
- Journal Actions
- Queue Actions
- Sending Actions
- Service Actions
- Receiving Actions
Sending → Send Location
AI-generatedSummary
Send a location message to a specific chat.
Inputs
- chatId (required) — Identifier of the target chat
- latitude (required) — Latitude coordinate of the location
- longitude (required) — Longitude coordinate of the location
Output shape
a single record representing the sent location message
The response includes whatever fields Green-API returns for a successful location send; errors are propagated as exceptions.
Examples
Example 1: Send a coordinates to a known chat
chatId=123456789, latitude=12.3456789, longitude=10.1112131