Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Message → Send Audio

AI-generated

Summary

Send an audio file to a specific Telegram chat using a file ID, URL, or binary data. Supports optional caption, parse mode for the caption, reply markup, and additional message options.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername). Required to specify where the audio will be sent.
  • File Source (required) — Method to provide the audio file: 'File ID' to reuse a file already known to Telegram, 'URL' to fetch from the web, or 'Binary Data' to upload from workflow data.
  • File ID (required) — File ID of the audio to send when using 'File ID' as the file source.
  • File URL (required) — URL of the audio to send when using 'URL' as the file source.
  • Binary Property (required) — Name of the binary property containing the audio file when using 'Binary Data' as the file source.
  • Caption — Caption text for the audio file.
  • Parse Mode — Formatting mode for the caption text: None, Markdown, MarkdownV2, or HTML.
  • Reply Markup (JSON) — JSON object for inline keyboard, reply keyboard, or other reply markup attached to the message.
  • Additional Fields — Optional message parameters such as disabling notification, protecting content, replying to a message ID, message thread ID, disabling web page preview, and allowing sending without reply.

Output shape

a single JSON object representing the Telegram API response for the sent audio message

The output JSON is the Telegram Bot API result field parsed from the API response, containing details of the sent audio message or error information if the request fails.

Examples

Example 1: Send audio using a file ID with a caption

Set Chat ID, select File Source as File ID, provide File ID, optionally set Caption and Parse Mode, then execute.

Example 2: Upload and send binary audio data

Set Chat ID, select File Source as Binary Data, provide Binary Property name referencing the audio file's binary data, optionally set Caption and parse mode, then execute.

Links

Discussion