edit_message_live_location
Change the latitude and longitude of an existing live location message sent with a live period. Also supports updating heading, horizontal accuracy, and proximity alert radius.
Instructions
Edit a live location message. The location must be live (sent with live_period). If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| heading | No | Direction in which the user is moving (0-360) | |
| latitude | Yes | New latitude | |
| longitude | Yes | New longitude | |
| message_id | No | ID of the message to edit (required if inline_message_id not provided) | |
| reply_markup | No | JSON string with inline keyboard markup | |
| inline_message_id | No | Inline message ID (required if chat_id/message_id not provided) | |
| horizontal_accuracy | No | Radius of uncertainty in meters (0-1500) | |
| proximity_alert_radius | No | Maximum distance for proximity alerts in meters |