Files
whatsapp/modules/turnero/api
Lizandro GuarnizoandClaude Sonnet 4.6 8a7e7a6658 Fix chat media upload: extract id from uploadMedia result, remap audio/webm
uploadMedia() returns the full API response array, not just the id string.
chat_upload_media.php was passing the whole array as $mediaId, producing
{"image": {"id": {"id": "...", "messaging_product": "..."}}} which
violated WhatsApp JSON schema for the media id field.

Also remap audio/webm (browser MediaRecorder default) to audio/ogg at
upload time since WhatsApp's media API rejects webm but accepts ogg/opus.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-03 14:28:33 -05:00
..
up
2026-06-16 13:04:59 -05:00
up
2026-06-16 08:53:28 -05:00
up
2026-06-16 19:54:04 -05:00
up
2026-06-16 16:55:22 -05:00
up
2026-04-18 23:41:01 -05:00
up
2026-04-21 21:13:35 -05:00
up
2026-06-16 17:52:27 -05:00
uo
2026-04-21 21:36:24 -05:00
up
2026-06-16 09:32:41 -05:00
up
2026-04-21 13:27:37 -05:00
up
2026-06-16 13:20:13 -05:00
up
2026-06-16 19:09:59 -05:00
up
2026-06-16 07:02:04 -05:00
up
2026-04-18 23:41:01 -05:00
up
2026-06-18 09:35:17 -05:00
2026-04-21 20:26:01 -05:00