WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation allows sending a video message in a chat session. It is useful for automating video sharing in messaging platforms, such as sending promotional videos, tutorials, or personal video messages. For example, a user can send a video file to a specific chat ID with optional caption and reply settings.

Use Case Examples

  1. Send a video file to a customer support chat with a caption explaining the content.
  2. Send a video note (round video) as a quick update to a group chat.

Properties

Name Meaning
Session The session identifier for the chat platform to send the video through.
Chat Id The unique identifier of the chat where the video will be sent.
File The video file details including mimetype, filename, and URL to the video resource.
Reply To The ID of the message to which this video message is a reply.
As Note Boolean flag to send the video as a video note (instant or round video).
Caption Optional caption text to accompany the video message.
Request Options Additional request options such as batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • sentMessageId - The ID of the sent video message.
  • status - Status of the video sending operation (e.g., success or failure).
  • chatId - The chat ID where the video was sent.

Dependencies

  • Requires an API key credential or session token to authenticate with the chat platform's API.

Troubleshooting

  • Ensure the session ID and chat ID are valid and active to avoid message sending failures.
  • Check the video file URL is accessible and the mimetype is supported by the chat platform.
  • If sending as a video note, verify the platform supports this feature.
  • Timeout errors may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.
  • SSL certificate errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.

Discussion