Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro Responder um audio em especifico #1022

Open
1 task done
fseixas1 opened this issue Oct 31, 2024 · 0 comments
Open
1 task done

Erro Responder um audio em especifico #1022

fseixas1 opened this issue Oct 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@fseixas1
Copy link

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Documentação que usei

[POST] {{baseUrl}}/message/sendWhatsAppAudio/{{instance}}

Json:

{
"number": "{{remoteJid}}",
"audio": "https://evolution-api.com/files/narratedaudio.mp3", /* url or base64 */
// options
// "delay": 1200,
"quoted": {
// // payload message or key.id only for get message in database
"key": {
"id": " MESSAGE_ID"
},
"message": {
"conversation": "CONTENT_MESSAGE"
}
}
}

What did you expect?

Responder ao áudio em especifico

What did you observe instead of what you expected?

Só o audio é enviado, a resposta escrita não chega.

Será que existe um bug no contextInfo, pois nele está como null.

201 - Created

{
"key": {
"remoteJid": "NUMBER@s.whatsapp.net",
"fromMe": true,
"id": "3EB02BB84803C5E490CP444WD00306D63F611704"
},
"pushName": "",
"status": "PENDING",
"message": {
"audioMessage": {
"url": "https://mmg.whatsapp.net/v/t62.7114-24/07636299_3096725387134039_6140256306984330065_n.enc?ccb=11-4&oh=01_Q5AaIBcnHHBS-6q7fr0r0j-eOV2LWw-SjXTa6wFw8QlJ5A5C&oe=673F4F96&_nc_sid=5e03e0&mms3=true",
"mimetype": "audio/ogg; codecs=opus",
"fileSha256": "65IOKOgjdQnpneRdyfxNcIWbBFCraXUuc8asr4kbjfw=",
"fileLength": "29324",
"seconds": 4,
"ptt": true,
"mediaKey": "r0sSOPxxzuExQznw+92uCnYJLHcGDYywGtoOFkeQK7Y=",
"fileEncSha256": "nTJOMLP7tZiTDsmw0sqG+NAZlMJisnyu0Rp/2UWU7Jw=",
"directPath": "/v/t62.7114-24/17636299_30967283871360939_6140256306984330065_n.enc?ccb=11-4&oh=01_Q5AaIBcnHHBS-6q7fr0r0j-eOV2LWw-SjXTa6kFw8QlJ5A5C&oe=673F4F96&_nc_sid=5e03e0",
"mediaKeyTimestamp": "1729612240",
"waveform": "AAAAAAANCQcFBw5OYzg8EQsOPBUHFdweIQoJBwYGVgYGBgcHBgYeODU8ORUnMDc4GA4bMSYiBwYGBQUFBQUFBg=="
},
"mediaUrl": "https://s3.dominio.com.br/evolutionv2/evolution-api/6b8937ba-c6df-4b49-95f2-907bbf2a5f6c/5516981196728%40s.whatsapp.net/audioMessage/3EB02BB84803C5E490C0444FD90306D63F611704.oga?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=jMYdpvSrlh5S68Q3CIzJ%2F20241022%2Feu-west-3%2Fs3%2Faws4_request&X-Amz-Date=20241022T155041Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=aa079ccd5aeaff03670e7b3dc25685aeadbfe6787f51d139ac41d368165c9bc2"
},
"contextInfo": null,
"messageType": "audioMessage",
"messageTimestamp": 1729512240,
"instanceId": "6b8937ba-664f-4b49-95f2-907bbf2a5f6c",
"source": "unknown"

Screenshots/Videos

No response

Which version of the API are you using?

v2.1.2

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

@fseixas1 fseixas1 added the bug Something isn't working label Oct 31, 2024
@fseixas1 fseixas1 changed the title Responder um audio em especifico Erro Responder um audio em especifico Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant