TNEENWH icon

TNEENWH

Use TNEENWH API operations

Send Media

AI-generated

Summary

Send a media message to a specified WhatsApp contact using the TNEENWH API, supporting optional caption and filename data.

Inputs

  • To (required) — The recipient's WhatsApp ID in the format 'number@c.us' (e.g., '201234567890@c.us').
  • MIME Type (required) — The MIME type of the media being sent (e.g., 'image/jpeg').
  • Base64 Content (required) — The media content encoded as a Base64 string.
  • Caption — Optional text caption to accompany the media.
  • Filename — Optional filename for the media attachment.
  • Session ID Override — Optional override for the session ID to use for sending the media.
  • Channel Secret Override — Optional override for the channel secret associated with the session.

Output shape

a JSON object representing the response from the TNEENWH API sendMedia operation, paired per item input

The output corresponds directly to the API response for sending media; it includes any confirmation or status data returned by the API. Errors trigger node errors unless 'continue on fail' is enabled, in which case error details appear in the output JSON.

Links

Discussion