Actions43
- Chat Actions
- Add Chat Members
- Close Chat
- Close Chat (Lite)
- Create SuperGroup or Channel
- Delete Chat
- Get Chat
- Get Chat History
- Get Chats
- Join Chat
- Mark Chat as Unread
- Open Chat
- Open Chat (Lite)
- Search Public Chat (by Username, Lite)
- Search Public Chat (by Username)
- Search Public Chats (Search in Username, Title)
- Send Chat Action
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Send Message with Video
AI-generatedSummary
Sends a video message to a Telegram chat.
Inputs
- chat_id (required) — ID of the target chat
- videoFilePath (required) — Local file system path to the video file to send
- fileCaption — Optional caption for the video
- message_thread_id — Message thread ID (for forums/supergroups); if non-zero, sends message to this thread
- reply_to_msg_id — Message ID to reply to
- videoDuration — Video duration in seconds
- videoWidth — Video width in pixels
- videoHeight — Video height in pixels
- videoSupportsStreaming — Whether Telegram should treat the video as streamable
- thumbnailFilePath — Local file system path to the JPEG thumbnail image
- thumbnailWidth — Thumbnail width in pixels
- thumbnailHeight — Thumbnail height in pixels
Output shape
Telegram API result object from sendMessage with inputMessageVideo
Contains the sent video message details as returned by the TDLib sendMessage method
Examples
Example 1: Send a video with caption to a group chat
chat_id: '-1001234567890', videoFilePath: '/tmp/video.mp4', fileCaption: 'Funny moment!'