Skip to content

Conversation

@jtapeg
Copy link

@jtapeg jtapeg commented Feb 20, 2025

POST /chat/downloadMediaMessage/:instance

{
    "downloadableMessage": {
        "mediaKey": "",
        "directPath": "",
        "url": ""
    },
    "type": "image", // image, video, audio, document, sticker, ptt
    // optional
    "timeout": 30000, // Milissegundos - padrão 30000 = 30s
    "returnType": "buffer" // buffer, base64 - padrão buffer
}

Implementado a função downloadContentFromMessage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant