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 a live location message sent by the bot in a chat by updating its latitude and longitude, along with optional live location parameters.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername) where the message was sent.
  • Message ID (required) — Unique identifier of the live location message to be edited.
  • Latitude (required) — New latitude of the location.
  • Longitude (required) — New longitude of the location.
  • Additional Fields — Optional parameters including horizontal accuracy (0-1500 meters), live period duration (60-86400 seconds) for location updates, heading direction (1-360 degrees), proximity alert radius (1-100000 meters), disable notification flag to send silently, and reply to message ID if the live location message is a reply.

Output shape

a single record

Returns the edited Message object if successful. The output is provided as a JSON object representing the updated message data.

Links

Discussion