Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Media → Re-Upload

AI-generated

Summary

Re-upload media for a WhatsApp message when its server URL has expired. Provide the full WAMessage object; the operation passes it to Baileys’ media update method and returns the updated message data.

Inputs

  • Message JSON (required) — The full WAMessage object containing the media.

Output shape

A single item containing the updated message object in its JSON data.

The operation invokes WhatsApp media re-upload/update for the supplied message. It does not return a binary file.

Links

Discussion