code-chat-br / whatsapp-api

CodeChat - WhatsApp Api
https://docs.codechat.dev
Apache License 2.0
593 stars 245 forks source link

Problem to use endpoint getBase64FromMediaMessage #85

Closed mateuspontesmoares closed 9 months ago

mateuspontesmoares commented 10 months ago

I'm trying to use a endpoint {{baseUrl}}/chat/getBase64FromMediaMessage/:instanceName, but a received error in my request.

The response

`POST {{baseUrl}}/chat/getBase64FromMediaMessage/:instanceName

BODY { "key": { "id": "3AE075054A8A5B0E00A4" } }

RESPONSE { "status": 400, "error": "Bad Request", "message": [ "TypeError: Cannot read properties of undefined (reading 'message')" ] }`

dulkith commented 10 months ago

[Deprecated] This endpoint retrieves the Base64 representation of the content of a media message for the specified instance.