Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Message → Send Message with Video

AI-generated

Summary

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!'

Links

Discussion