Send video
The telegram_bot_api-send-video tool enables seamless sending of video files directly to your Telegram Desktop application, simplifying media sharing via bots. It supports various video formats and comprehensive messaging options to enhance communication.
Features
- Send video files by passing file IDs, HTTP URLs, or local paths.
- Supports multiple MIME video types including MP4, MPEG, WEBM, and OGG.
- Allows adding captions to videos to provide context or descriptions.
- Includes options to customize video metadata like duration, width, and height.
- Supports advanced reply markup with inline keyboards and custom reply keyboards for interactive chats.
Benefits
- Streamline video sharing in Telegram bots with easy-to-use API integration.
- Enhance user engagement by sending rich media content with custom captions.
- Increase interactivity using inline keyboards and custom reply options.
- Ensure compatibility with Telegram’s video requirements for reliable delivery.
- Save development time with a ready-to-use connector for Telegram bot video messaging.
Description
Sends a video file to your Telegram Desktop application. See the docs for more information
Parameters
9 parameters
| Name | Type | Description |
|---|---|---|
| chatIdrequired | string | Enter the unique identifier for the target chat (e.g. |
| caption | string | Enter the video caption. |
| filename | string | Enter a filename. |
| videorequired | 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. |
| duration | integer | Enter duration of sent video in seconds. |
| width | integer | Enter the video width. |
| height | integer | Enter the video height. |
| 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. |