secretary_delete_sent
Delete a Telegram message the bot sent on the owner's behalf by specifying the chat and message ID; only the bot's own replies can be removed.
Instructions
Delete a message that was sent through secretary_reply, on the owner's behalf. Only this bot's own messages can be deleted this way.
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": {
"chat": "<chat>",
"message_id": "<message_id>"
},
"name": "secretary_delete_sent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | Chat: numeric id, @username, or part of the person's name | |
| message_id | Yes | message_id as shown by secretary_read |