stopMessageLiveLocation
End live location sharing on a Telegram message before it expires, giving you control over when tracking stops.
Instructions
Stop updating a live location message before live_period expires. Returns the edited Message on success, or True if the message is an inline message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stopMessageLiveLocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| message_id | No | Required if inline_message_id is not specified. Identifier of the message with live location to stop. | |
| reply_markup | No | A JSON-serialized object for an inline keyboard. | |
| inline_message_id | No | Required if chat_id and message_id are not specified. Identifier of the inline message. | |
| business_connection_id | No | Unique identifier of the business connection on behalf of which the message was sent. |