send_audio
Send an audio file to a Telegram chat, displaying it in the music player. Supports file IDs, URLs, or local paths, with optional metadata like title, performer, and caption.
Instructions
Send an audio file. Telegram clients display it in the music player.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | File ID, HTTP URL, or absolute file path | |
| title | No | ||
| caption | No | Caption (0-1024 chars) | |
| chat_id | Yes | Chat ID or @username | |
| duration | No | ||
| effect_id | No | ||
| performer | No | ||
| thumbnail | No | File ID, HTTP URL, or absolute file path | |
| parse_mode | No | Formatting mode | |
| reply_markup | No | InlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply | |
| protect_content | No | ||
| caption_entities | No | Array of MessageEntity objects | |
| reply_parameters | No | ReplyParameters object | |
| message_thread_id | No | ||
| allow_paid_broadcast | No | ||
| disable_notification | No | ||
| business_connection_id | No |