Send video note
The telegram_bot_api-send-video-note tool allows seamless sending of rounded square mp4 video messages up to 1 minute in length via Telegram bots. It leverages Telegram's updated API (v4.0) to enhance communication through engaging video notes.
Features
- Supports sending rounded square MP4 videos up to 1 minute in length.
- Accepts various file input types: file_id, HTTP URL, or local file path.
- Allows specification of MIME types including video/mpeg, video/mp4, video/webm, and video/ogg.
- Enables customization with optional reply_to_message_id and reply_markup parameters for interactive chat experiences.
- Ensures compliance with Telegram's file size and format requirements for smooth delivery.
Benefits
- Enhances user engagement with rich video content in chats.
- Streamlines automation by integrating video messaging into Telegram bots.
- Supports flexible file input methods simplifying video uploads.
- Facilitates interactive conversations with inline keyboards and custom replies.
- Improves communication clarity and expressiveness through video notes.
Description
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. See the docs for more information
Parameters
8 parameters
| Name | Type | Description |
|---|---|---|
| chatIdrequired | string | Enter the unique identifier for the target chat (e.g. |
| filename | string | Enter a filename. |
| videoNoterequired | string | File to send. Pass a file_id to send a file that exists on the Telegram servers, pass an HTTP URL for Telegram to get a file from the Internet, or pass the path to the file (e.g., |
| contentType | enum | Select or enter the MIME type of data. |
| length | integer | Enter the video width and height, i.e. diameter of the video message, in pixels (px). |
| duration | integer | Enter duration of sent video in seconds. |
| reply_to_message_id | string | Enter the ID of the original message. |
| reply_markup | string | Enter additional interface options that are a JSON-serialized object including an inline keyboard, a custom reply keyboard, instructions to remove the reply keyboard or instructions to force a reply from the user, e.g. |