Actions56
- 袙褏芯写 Actions
- 袚褉褍锌锌邪 Actions
- 袣芯薪褌邪泻褌 Actions
- 袩芯写邪褉芯泻 Actions
- 袩芯谢褜蟹芯胁邪褌械谢褜 Actions
- 袩芯谢褜蟹芯胁邪褌械谢褜褋泻懈泄 蟹邪锌褉芯褋 Actions
- 小芯芯斜褖械薪懈械 Actions
- 肖邪泄谢 Actions
- 效邪褌 Actions
- 袩芯谢褍褔懈褌褜 褋锌懈褋芯泻 锌邪锌芯泻
- 袪械写邪泻褌懈褉芯胁邪褌褜 锌邪锌泻褍
- 袛芯斜邪胁懈褌褜 褔邪褌 胁 锌邪锌泻褍
- 校写邪谢懈褌褜 褔邪褌 懈蟹 锌邪锌泻懈
- 袛芯斜邪胁懈褌褜 褍褔邪褋褌薪懈泻芯胁 胁 褔邪褌
- 袟邪泻褉褘褌褜 褔邪褌
- 袨褌泻褉褘褌褜 褔邪褌
- 袨褌屑械褌懈褌褜 褔邪褌 泻邪泻 薪械锌褉芯褔懈褌邪薪薪褘泄
- 袨褌锌褉邪胁懈褌褜 写械泄褋褌胁懈械 褔邪褌邪
- 袩芯懈褋泻 锌褍斜谢懈褔薪芯谐芯 褔邪褌邪 (锌芯 懈屑械薪懈 锌芯谢褜蟹芯胁邪褌械谢褟)
- 小芯蟹写邪褌褜 斜懈蟹薪械褋-褋褋褘谢泻褍 褔邪褌邪
- 校写邪谢懈褌褜 斜懈蟹薪械褋-褋褋褘谢泻褍 褔邪褌邪
- 袩芯懈褋泻 锌褍斜谢懈褔薪褘褏 褔邪褌芯胁 (袩芯懈褋泻 胁 懈屑械薪懈, 蟹邪谐芯谢芯胁泻械)
- 袩芯谢褍褔懈褌褜 懈薪褎芯褉屑邪褑懈褞 芯 褋褋褘谢泻械 锌褉懈谐谢邪褕械薪懈褟 胁 褔邪褌
- 袩芯谢褍褔懈褌褜 懈褋褌芯褉懈褞 褔邪褌邪
- 袩芯谢褍褔懈褌褜 锌谢邪褌薪褘械 锌芯褋褌褘 懈蟹 褔邪褌邪
- 袩芯谢褍褔懈褌褜 褍褔邪褋褌薪懈泻芯胁 褔邪褌邪, 锌褉懈褋芯械写懈薪懈胁褕懈褏褋褟 锌芯 褋褋褘谢泻械 锌褉懈谐谢邪褕械薪懈褟
- 袩芯谢褍褔懈褌褜 懈薪褎芯褉屑邪褑懈褞 芯 褔邪褌械
- 袩芯谢褍褔懈褌褜 褔邪褌褘
- 袩褉懈褋芯械写懈薪懈褌褜褋褟 泻 褔邪褌褍
- 小芯蟹写邪褌褜 褋褍锌械褉谐褉褍锌锌褍 懈谢懈 泻邪薪邪谢
- 校写邪谢懈褌褜 褔邪褌
- 袩芯谢褍褔懈褌褜 褋锌懈褋芯泻 斜懈蟹薪械褋-褋褋褘谢芯泻
- 袟胁械蟹写褘 Actions
- 袠褋褌芯褉懈懈 Actions
小芯芯斜褖械薪懈械 → 袨褌锌褉邪胁懈褌褜 褋芯芯斜褖械薪懈械 褋 邪褍写懈芯
AI-generatedOverview
This node operation sends an audio message to a specified Telegram chat. It supports sending audio either from a local file path or from binary data provided by a previous node. Users can optionally add a caption to the audio and choose to send it as a voice message with waveform visualization or as a regular audio file. The node handles file existence checks, size limits for voice messages, and provides detailed error handling for common Telegram API issues.
Use Case Examples
- Sending a voice message from a local .ogg audio file to a chat.
- Sending an audio file from binary data received from a previous node, with an optional caption.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the Telegram chat to which the audio message will be sent. |
| Audio Source | Determines whether the audio is sent from a local file path or from binary data from a previous node. |
| Audio File Path | The path to the local audio file to be sent. Required if Audio Source is Local File Path. |
| Audio Caption | An optional caption to accompany the audio message. |
| Binary Property | The name of the binary property containing the audio data. Required if Audio Source is Binary Data. |
| Send as Voice Message | Whether to send the audio as a voice message with waveform visualization (true) or as a regular audio file (false). |
| Reply to messageId | Identifier of the message to which this audio message is a reply. |
Output
JSON
operation- The operation performed, here it is 'sendMessageAudio'.success- Indicates whether the audio message was sent successfully.error- Error message if the operation failed.result- The result object returned from the Telegram API after sending the message.chat_id- The chat ID where the audio message was sent.audioSource- The source of the audio, either 'filePath' or 'binaryData'.sendAsVoice- Boolean indicating if the audio was sent as a voice message.binaryPropertyName- The name of the binary property containing the audio data, if applicable.audioFilePath- The local file path of the audio file sent.audioCaption- The caption text for the audio message.reply_to_msg_id- The message ID this audio message is replying to.fileSize- Size of the audio file in bytes.fileExists- Boolean indicating if the audio file exists at the specified path.fileExtension- The file extension of the audio file.warning- Warning messages related to the audio file format or size.errorDetailsmessage- Detailed error message from the Telegram API if an error occurred.code- Error code from the Telegram API if an error occurred.stack- Stack trace of the error if available.
errorType- Categorized type of error for easier troubleshooting.
Dependencies
- Telegram API credentials (API ID, API Hash, Phone Number)
Troubleshooting
- Ensure the audio file path is correct and the file exists when using local file path source.
- Check that the binary property name matches the binary data property from the previous node when using binary data source.
- Voice messages must be in .ogg format and under 20MB; otherwise, a warning or error will be shown.
- Common Telegram API errors include user restrictions on receiving voice messages, expired file references, invalid file IDs, and chat write permissions. The node provides specific error messages for these cases.
- If the Telegram client session is not logged in or closed, the node will prompt to login again with instructions.
Links
- Telegram Bot API - sendVoice - Official Telegram API documentation for sending voice messages.
- Telegram Bot API - sendAudio - Official Telegram API documentation for sending audio files.