edit_business_message_text
Update the text of an existing business message. Specify message ID, chat ID, and new text; optionally set formatting or inline keyboard.
Instructions
Edit a text 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>",
"text": "<text>"
},
"name": "edit_business_message_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New message text | |
| chat_id | Yes | Chat ID of the message | |
| message_id | Yes | ID of the message to edit | |
| parse_mode | No | Text formatting mode | |
| reply_markup | No | JSON string with inline keyboard markup | |
| business_connection_id | Yes | Business connection ID |