GREEN-API for MAX icon

GREEN-API for MAX

Send and receive MAX messages using Green-API.

Sending → Send Location

AI-generated

Summary

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

Links

Discussion