Actions17
Send Audio
AI-generatedSummary
Send an audio message to a Telegram chat using a bot token.
Inputs
- botToken — Bot token from input (e.g. from Orchestrator/Strapi).
- chatId (required) — Telegram chat identifier.
- replyToMessageId — Message ID to reply to.
- replyMarkup — Inline keyboard or reply keyboard JSON.
- mediaSource — ‘url’ for URL or file_id, or ‘binary’ for binary data.
- media — URL or Telegram file_id of the audio.
- binaryPropertyName — Name of binary property to use when Media Source is binary.
- caption — Caption text for the audio.
- captionEntities — Caption entities (formatting) for the audio.
- useRateLimit — Enable Redis rate limiting to avoid 429 errors (requires Redis).
Output shape
Up to three workflow items: success (with response JSON), 403 blocked (error object), or error (error details). Each item includes a pairedItem indicating the input index.
The operation always returns three possible outputs; only one will contain data depending on the result.
Examples
Example 1: Send an audio clip from a URL to a chat.
Bot Token = {{ $json.access_token }}, Chat ID = {{ $json.chatId }}, Media Source = url, Media = https://example.com/song.mp3, Caption = 'Check this out', useRateLimit = false