Bot: send file
bot_send_fileSend a photo, document, video, audio, or voice file from a Bale bot to a chat, using an HTTP(S) URL or local file. Confirm recipient and file with the user before calling.
Instructions
Send a photo, document, video, audio or voice file from the bot. Sends a real message. Confirm recipient and file with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | How Bale should show the file. | |
| source | Yes | An http(s) URL, or a path to a local file (max 50 MB). | |
| caption | No | Optional caption. | |
| chat_id | Yes | Chat id (number from bot_get_new_messages or bot_list_chats, e.g. 123456789) or a public channel/group username like '@mychannel'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||