WhatsApp — Download media
Input
id requiredThe message id, as get_conversation returns it in `id` (false_<chat>_<key> or true_<chat>_<key>). A bare key id (the last part alone) also works when `name` is given.
name optionalThe chat's name as get_inbox returns it. Needed only when `id` is a bare key id.
Default: ""Output
kind requiredWhatsApp's message type: image, video, document, audio, ptt (voice note) or sticker.
size requiredSize of the saved file in bytes.
chatId requiredThe chat the message belongs to, as get_inbox returns it in `chatId`.
filename requiredName of the saved file. A document keeps the name it was sent with; it can carry a numbered suffix when a file of that name was already there.
mimeType requiredmessageId requiredurl optionalA link to the file, when it is not saved on the computer running the browser.
path optionalWhere the file was saved on the computer running the browser.
imageWidth optionalWidth WhatsApp states for an image, video or sticker; null otherwise.
imageHeight optional