Actions24
- Chat Actions
- Callback Actions
- File Actions
- Message Actions
Overview
This node sends a video message to a specified Telegram chat. It supports sending videos either by referencing an existing file on Telegram servers, providing an HTTP URL, or uploading a binary video file directly. The node allows customization of the video message with options such as captions, duration, dimensions, and reply markup (e.g., inline keyboards or reply keyboards). It is useful for automating video sharing in Telegram chats, channels, or groups, for example, sending promotional videos, tutorials, or updates.
Use Case Examples
- Sending a promotional video to a Telegram channel by providing the file ID of a video already uploaded to Telegram servers.
- Uploading and sending a new video file from binary data stored in the workflow to a specific chat ID.
- Sending a video with an inline keyboard for user interaction, such as buttons linking to a website or triggering bot commands.
Properties
| Name | Meaning |
|---|---|
| Chat ID | Unique identifier for the target chat or username of the target channel where the video will be sent. |
| Binary File | Indicates whether the video to send should be taken from a binary field in the workflow input data. |
| Input Binary Field | The name of the input binary field containing the video file data to upload when Binary File is true. |
| Video | The video file to send when Binary File is false. Can be a file ID of an existing Telegram video or an HTTP URL. |
| Reply Markup | Additional interface options for the message, such as Force Reply, Inline Keyboard, Reply Keyboard, or Reply Keyboard Remove. |
| Additional Fields | Various optional parameters to customize the video message, including caption, duration, dimensions (width, height), thumbnail, parse mode, disable notification, reply to message ID, message thread ID, and custom JSON fields for advanced Telegram API options. |
| Wait for Response | Whether to wait for a response from the user after sending the video message. |
| Timeout | Timeout in seconds to wait for a user response if 'Wait for Response' is true. |
Output
JSON
json- The JSON response from the Telegram API after sending the video message, containing details about the sent message.
Dependencies
- Telegram API
Troubleshooting
- Ensure the chat ID is correct and the bot has permission to send messages to the target chat.
- If sending a binary video file, ensure the binary data includes a valid file name and MIME type.
- For file references, use valid Telegram file IDs or accessible HTTP URLs.
- If waiting for a response, ensure the timeout is set appropriately to avoid premature workflow continuation.
Links
- Telegram Bot API - sendVideo - Official Telegram API documentation for sending video messages.