Bot: send file
bot_send_fileSends a photo, document, video, audio, or voice file from a Bale bot to a specified chat using a URL or allowed local path, with an optional caption.
Instructions
Send a real photo, document, video, audio or voice file from the bot. Confirm recipient and file with the user first.
Local paths must lie inside BALE_MCP_SEND_DIRS (default: the download folder only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | How Bale shows the file. | |
| source | Yes | http(s) URL, or local file path (max 50 MB; see BALE_MCP_SEND_DIRS). | |
| caption | No | Optional caption. | |
| chat_id | Yes | Chat id (number, e.g. 123456789) or public '@channel' username. See bot_list_chats. |