Actions43
- Session Actions
- Chat Actions
- User Actions
- Group Actions
Chat → Download Video
AI-generatedSummary
Download a video from a WhatsApp chat
Inputs
- mediaUrl (required) — Direct URL of the media to download
- mediaKey (required) — Media Key for decryption
- mimetype (required) — Mime type of the file
- fileSha256 (required) — SHA256 hash of the file
- fileLength (required) — Size of the file in bytes
Output shape
binary response (video file)
Returned as raw bytes; empty on failure; success indicates download completed
Examples
Example 1: Download a video from a chat message
mediaUrl = https://example.com/video.mp4, mediaKey = abc123, mimetype = video/mp4, fileSha256 = xyz, fileLength = 12345
Example 2: Attempt download with missing SHA256
mediaUrl = https://example.com/video.mp4, mediaKey = abc123, mimetype = video/mp4, fileSha256 = , fileLength = 12345
Example 3: Download a video and use the file in a subsequent node
mediaUrl = https://example.com/video.mp4, mediaKey = abc123, mimetype = video/mp4, fileSha256 = xyz, fileLength = 12345
