MBKChat icon

MBKChat

Desfrute da MbkChat_API

Chat → Download Image

AI-generated

Summary

Download media from a chat message

Inputs

  • mediaUrl (required) — Direct URL of the media
  • 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 file content

Returns the downloaded media as raw bytes; errors are handled by continueOnFail and may appear as error objects in the output array

Examples

Example 1: Download an image from a chat message

Supply Media URL, Media Key, Mime Type, SHA256 and Length using values from preceding nodes; the node outputs the downloaded binary file.

Example 2: Retrieve a video file

Provide URL and decryption key; optional fields may be left empty and the node returns the video bytes.

Links

Discussion