Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

Message → Send Voice

AI-generated

Summary

Send a voice message to a specified Telegram chat, user, or phone number by providing the file as a local path or URL.

Inputs

  • Chat ID / Username (required) — Telegram chat identifier, username (prefixed with @), or phone number to which the voice message will be sent.
  • File Path or URL (required) — Local file path or URL pointing to the voice message file to send.
  • Additional Options — Optional parameters including sending the message silently (no notification), replying to a specific message ID, and parsing mode. Note that text formatting and link preview options are available but typically less relevant for voice messages.

Output shape

a single record containing the full Telegram API response of the sent message

Returns the detailed Telegram API response for the sent voice message. If multiple input items are processed, an array of results is returned, each paired with its input item. Errors are included per item if 'continueOnFail' is enabled.

Discussion