Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Message → Send Message with Video

AI-generated

Overview

This node operation sends a video message to a specified Telegram chat. It allows users to provide the chat ID, the local file path of the video to be sent, an optional caption for the video, and an optional message ID to reply to. This operation is useful for automating the sending of video content in Telegram chats, such as sharing promotional videos, tutorials, or personal messages.

Use Case Examples

  1. Sending a promotional video to a customer support chat.
  2. Sharing a tutorial video in a group chat automatically.
  3. Replying to a specific message with a video attachment.

Properties

Name Meaning
Chat ID The unique identifier of the Telegram chat where the video message will be sent.
Message File (Photo, Video, Document) The local file path to the video file that will be sent as a message.
Caption An optional caption text to accompany the video message.
Reply to messageId Optional message ID to which this video message will be a reply.

Output

JSON

  • _ - Type of the sent message, e.g., 'inputMessageVideo'
  • chat_id - ID of the chat where the message was sent
  • reply_to_message_id - ID of the message this video message is replying to, if any
  • input_message_content
    • photo
      * path - Local file path of the video sent
    • caption
      * text - Caption text of the video message

Dependencies

  • Telegram API access via TelePilot API credentials

Troubleshooting

  • Ensure the Telegram account is logged in and the session is active; otherwise, the node will throw login-related errors.
  • Verify the local file path is correct and accessible to avoid file not found errors.
  • If the message fails to send, check the chat ID and permissions for the bot or user account.
  • Common error messages include 'Unauthorized' (indicating login issues) and 'A closed client cannot be reused' (indicating the session was closed). Resolving these typically involves re-authenticating or restarting the session.

Links

Discussion