TelePilot2 icon

TelePilot2

Your Personal Telegram CoPilot

Message → Send Message with Video

AI-generated

Summary

Send a video message to a specified chat on Telegram using a local video file.

Inputs

  • Chat ID (required) — ID of the chat where the video message will be sent.
  • Message Video (required) — Local file path to the video to be sent.
  • File Caption — Optional caption text for the video message.
  • Reply to threadID — Thread identifier in the chat to send the message to, if any (use 0 for none).
  • Duration Of The Video, In Seconds — Optional duration of the video in seconds.
  • Video Width — Optional width of the video in pixels.
  • Video Height — Optional height of the video in pixels.
  • On, If The Video Is Supposed To Be Streamed — Boolean indicating if the video supports streaming (default true).
  • Thumbnail Width — Optional width of the thumbnail image in pixels.
  • Thumbnail Height — Optional height of the thumbnail image in pixels.
  • JPEG Thumbnail Of The Video (Local File Path) — Local file path to an optional JPEG thumbnail image for the video.
  • Reply to messageId — If set, the identifier of a message this video message is replying to.

Output shape

a single record representing the result of the sendMessage API call

The output contains the Telegram API response for the sent video message, including message identifiers and status. Optional input fields can be omitted if not needed.

Examples

Example 1: Send a video message to chat ID '123456' using a local file '/tmp/video.mp4' with a caption

Chat ID: 123456, Message Video: /tmp/video.mp4, File Caption: 'Check out this video!'

Links

Discussion