Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Edit Message Live Location

AI-generated

Summary

Edit an existing live location message in a Telegram chat by updating its latitude and longitude, optionally including additional parameters for location accuracy, live period, heading, proximity alert radius, notification settings, and reply message ID.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername) where the live location message was sent.
  • Message ID (required) — Unique identifier of the live location message to edit.
  • Latitude (required) — New latitude coordinate for the live location.
  • Longitude (required) — New longitude coordinate for the live location.
  • Additional Fields — Optional parameters for the live location update, including horizontal accuracy (meters), live period (duration in seconds for live location updates), heading (direction in degrees), proximity alert radius (meters), whether to send the update silently (disable notification), and optionally replying to a specific message ID.

Output shape

a single record

Returns the edited Message object as a JSON object from the Telegram API response upon successful update.

Examples

Example 1: Update a live location on a specific message in a chat to new coordinates with a live period of 300 seconds and no notification.

Provide the Chat ID and Message ID identifying the message with the live location; set the new Latitude and Longitude values; and optionally set 'Live Period' to 300 and 'Disable Notification' to true in Additional Fields.

Links

Discussion