Telegram Bot icon

Telegram Bot

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

Actions101

Message → Send Voice

AI-generated

Summary

Send a voice message to a specified Telegram chat by providing the target chat ID and the voice file via file ID, URL, or binary data.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • Parse Mode — Optional parse mode for the caption text, options are None, Markdown, MarkdownV2, or HTML.
  • File Source (required) — Select how to provide the voice file: File ID, URL, or Binary Data.
  • File ID (required) — (If File ID selected) The File ID of the voice file to send.
  • File URL (required) — (If URL selected) The URL of the voice file to send.
  • Binary Property (required) — (If Binary Data selected) Name of the binary property containing the voice file (default is 'data').
  • Caption — Optional caption text for the voice message.
  • Reply Markup (JSON) — Optional inline keyboard, reply keyboard, or other reply markup as JSON.
  • Additional Fields — Optional additional parameters such as disabling notification, protecting content, replying to a message, message thread ID, disabling web page preview, and allowing sending without reply.

Output shape

A single object representing the sent voice message.

Returns the message object as returned by the Telegram API. If multiple input items are processed, returns an array of message objects. Errors are returned per item when 'Continue On Fail' is enabled.

Links

Discussion