edit_business_message_caption
Update the caption of a media message sent from your business account. Specify the new caption and the message identifiers to edit.
Instructions
Edit caption of a media message sent on behalf of a business account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"business_connection_id": "<business_connection_id>",
"chat_id": "<chat_id>",
"message_id": "<message_id>",
"caption": "<caption>"
},
"name": "edit_business_message_caption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | Yes | New caption text (up to 1024 characters) | |
| chat_id | Yes | Chat ID of the message | |
| message_id | Yes | ID of the message to edit | |
| parse_mode | No | Caption formatting mode | |
| reply_markup | No | JSON string with inline keyboard markup | |
| business_connection_id | Yes | Business connection ID |