send_voice
Send a voice message to Telegram chats using a file ID, HTTP URL, or absolute file path. Include captions, formatting, and reply settings.
Instructions
Send a voice message (.OGG encoded with OPUS).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| voice | Yes | File ID, HTTP URL, or absolute file path | |
| caption | No | Caption (0-1024 chars) | |
| chat_id | Yes | Chat ID or @username | |
| duration | No | ||
| effect_id | No | ||
| 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 |