Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Message → Send Voice
AI-generatedSummary
Send a voice message to a Telegram chat using a file ID, URL, or binary data.
Inputs
- chat_id (required) — Unique identifier for the target chat or username (@channelusername).
- fileSource — How to provide the file (fileId, url, or binary).
- fileId — File ID of the voice message to send.
- fileUrl — URL of the voice message file.
- binaryPropertyName — Name of the binary property containing the voice file.
- caption — Caption for the voice message.
- parse_mode — How to parse the caption (none, Markdown, MarkdownV2, or HTML).
- reply_markup — Inline keyboard or other reply markup as JSON.
- disable_notification — Send the message silently.
- protect_content — Protect the message from forwarding and saving.
- reply_to_message_id — If the message is a reply, ID of the original message.
- message_thread_id — Unique identifier for the target message thread (topic) of the forum.
- disable_web_page_preview — Disables link previews for links in this message.
- allow_sending_without_reply — Allow sending if the replied-to message is not found.
Output shape
a single record containing the sent message object
Returns the standard Telegram API response object for the sent message.
Examples
Example 1: Send a voice message from a stored file ID to a chat.
chat_id: 123456789; fileSource: fileId; fileId: 'ABC123def456'; caption: 'Meeting notes'
Example 2: Send a voice message from a URL to a channel.
chat_id: @mychannel; fileSource: url; fileUrl: 'https://example.com/voice.mp3'; disable_notification: true
Example 3: Send a voice message from binary data (e.g., from a previous HTTP node).
chat_id: 123456789; fileSource: binary; binaryPropertyName: data; caption: 'Voice recording'