Bot: send message
bot_send_messageSends a text message from a Bale bot to a chat, channel, or reply thread. Use it to deliver markdown messages or inline buttons, then wait for the user's reply with the returned message_id.
Instructions
Send a real text message from the bot. Confirm recipient and text with the user first.
Markdown text. The user must have sent /start first. Then bot_wait_for_reply with the returned message_id.
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_id": "<chat_id>",
"text": "<text>"
},
"name": "bot_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message text. | |
| buttons | No | Inline buttons as rows of labels, e.g. [['Yes', 'No']]. A press arrives as kind 'button'. | |
| chat_id | Yes | Chat id (number) or public '@channel' username. | |
| reply_to_message_id | No | Message id to reply to. |