Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Message → Edit Message Live Location
AI-generatedSummary
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.