WhatsApp Save Media
whatsapp_save_mediaSaves the media of one WhatsApp message (a document such as PDF, DOCX or XLSX, an image, a video, or a voice note/audio) as a file in a local folder. chat_id and message_id come from whatsapp_read_messages or whatsapp_search_messages (a message whose media field is set). It never replaces a file: if the name is taken, it saves as «name (2).ext» and says so.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which linked WhatsApp account to use: its label or id from whatsapp_list_accounts. Leave it out to use the default account. | |
| chat_id | Yes | Chat ID of the message, from whatsapp_read_messages | |
| message_id | Yes | message_id of the message that carries the media, from whatsapp_read_messages | |
| destination | No | Folder to save the file into. Defaults to the Downloads folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||