send_voice
Send a voice message in OGG format to a Telegram chat by providing a URL or file_id, with optional caption and parse mode.
Instructions
Send a voice message to a Telegram chat.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat ID. | |
| voice_url | Yes | URL or file_id of the voice message (OGG with OPUS). | |
| caption | No | Optional caption. | |
| parse_mode | No | HTML, Markdown, MarkdownV2, or None. | HTML |
| duration | No | Duration in seconds. | |
| disable_notification | No | Send silently. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| message_id | No | ||
| chat_id | No |