Renato Alcara
000932accd
chore: update WhatsApp Web version to v2.3000.1037061899 ( #352 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-10 06:25:40 -03:00
github-actions[bot]
8df39c320e
chore: update proto/version to v2.3000.1037038379 ( #351 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-10 01:00:21 -03:00
Renato Alcara
22e758b1e6
chore: update WhatsApp Web version to v2.3000.1036978211 ( #350 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-09 06:26:10 -03:00
github-actions[bot]
f473484852
chore: update proto/version to v2.3000.1036961647 ( #349 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-09 00:55:22 -03:00
Renato Alcara
4dde4c5500
chore: update WhatsApp Web version to v2.3000.1036893687 ( #348 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-08 06:22:46 -03:00
github-actions[bot]
e3cf104b59
chore: update proto/version to v2.3000.1036861941 ( #347 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-08 00:56:53 -03:00
Renato Alcara
aa0a3c2b71
chore: update WhatsApp Web version to v2.3000.1036798793 ( #346 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-07 06:23:04 -03:00
github-actions[bot]
bdbad50074
chore: update proto/version to v2.3000.1036772203 ( #345 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-07 00:56:17 -03:00
Renato Alcara
45b322abac
chore: update WhatsApp Web version to v2.3000.1036709653 ( #344 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-06 06:25:21 -03:00
github-actions[bot]
3c3cf32027
chore: update proto/version to v2.3000.1036704126 ( #343 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-06 00:59:26 -03:00
Renato Alcara
99d85498fb
chore: update WhatsApp Web version to v2.3000.1036691526 ( #342 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-05 06:12:28 -03:00
github-actions[bot]
d6414f203b
chore: update proto/version to v2.3000.1036688876 ( #340 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-05 00:58:23 -03:00
Renato Alcara
b98df92d8c
chore: update WhatsApp Web version to v2.3000.1036673976 ( #341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-04 06:11:52 -03:00
Renato Alcara
00a8113d47
chore: update WhatsApp Web version to v2.3000.1036606219 ( #339 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-03 06:17:29 -03:00
github-actions[bot]
670ac582f9
chore: update proto/version to v2.3000.1036588306 ( #338 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-03 00:54:16 -03:00
Renato Alcara
08910c61e1
chore: update WhatsApp Web version to v2.3000.1036512893 ( #337 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-02 06:20:16 -03:00
github-actions[bot]
cb5e42c46e
chore: update proto/version to v2.3000.1036469328 ( #336 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-02 00:53:53 -03:00
Renato Alcara
30e986ee67
chore: update WhatsApp Web version to v2.3000.1036420555 ( #335 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-01 06:24:15 -03:00
github-actions[bot]
60302d73d5
chore: update proto/version to v2.3000.1036375660 ( #334 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-04-01 01:01:11 -03:00
Renato Alcara
3baa494fad
chore: update WhatsApp Web version to v2.3000.1036326359 ( #333 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-31 06:54:53 -03:00
github-actions[bot]
59cad85544
chore: update proto/version to v2.3000.1036244875 ( #332 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-31 02:02:42 -03:00
Renato Alcara
ad53bc0982
chore: update WhatsApp Web version to v2.3000.1036229535 ( #331 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-30 07:06:44 -03:00
github-actions[bot]
fb8f51be52
chore: update proto/version to v2.3000.1036224280 ( #330 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-30 02:15:18 -03:00
Renato Alcara
9a7d43d4ba
chore: update WhatsApp Web version to v2.3000.1036208776 ( #329 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-29 06:27:46 -03:00
github-actions[bot]
578efe945f
chore: update proto/version to v2.3000.1036204984 ( #328 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-29 02:03:52 -03:00
Renato Alcara
e999fc1aa1
chore: update WhatsApp Web version to v2.3000.1036185592 ( #327 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-28 06:27:30 -03:00
github-actions[bot]
9fd88b533d
chore: update proto/version to v2.3000.1036173230 ( #326 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-28 01:46:40 -03:00
Renato Alcara
43f3525437
chore: update WhatsApp Web version to v2.3000.1036094556 ( #325 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-27 06:44:22 -03:00
github-actions[bot]
fdcbd3fc1d
chore: update proto/version to v2.3000.1036065881 ( #324 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-27 02:00:33 -03:00
Renato Alcara
cdc89316f0
chore: update WhatsApp Web version to v2.3000.1036016053 ( #323 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-26 06:53:02 -03:00
github-actions[bot]
3050c329c5
chore: update proto/version to v2.3000.1036000318 ( #319 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-26 01:59:23 -03:00
Renato Alcara
3ef7474842
fix: respect caller-provided waveform for PTT audio messages ( #322 )
...
* fix: respect caller-provided waveform for PTT audio messages
When sending PTT audio with an explicit waveform, Baileys unconditionally
overwrites it with getAudioWaveform() which returns undefined when
audio-decode is not installed — resulting in a flat line on WhatsApp.
Now only invokes getAudioWaveform() when no waveform is already provided,
matching the existing pattern used for jpegThumbnail (line 241).
Validated via CDP + Frida interception: WhatsApp waveform format is
64 bytes Uint8Array, values 0-99, byte-for-byte identical between
Android (audio_data table) and WA Web (model-storage IDB).
Ref: WhiskeySockets/Baileys#2443
Co-Authored-By: Renato Alcara
2026-03-25 15:51:52 -03:00
Renato Alcara
9dfd31d109
chore: update WhatsApp Web version to v2.3000.1035913242 ( #321 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-25 06:42:47 -03:00
Renato Alcara
e686c5a2e1
chore: update WhatsApp Web version to v2.3000.1035819858 ( #320 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-24 06:44:53 -03:00
Renato Alcara
466c14ff82
chore: update WhatsApp Web version to v2.3000.1035718650 ( #318 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-23 06:53:55 -03:00
Renato Alcara
03bc03b318
Merge branch 'master' of https://github.com/rsalcara/InfiniteAPI
2026-03-23 01:59:15 -03:00
Renato Alcara
d83971d15e
fix: remove duplicate isViewOnceMsg/viewOnceMeRecipients declarations
...
Merge duplicou o bloco — TS2451 Cannot redeclare block-scoped variable.
Mantida a versão correta (verifica viewOnceInner?.imageMessage?.viewOnce).
Co-Authored-By: Renato Alcara
2026-03-23 01:59:08 -03:00
github-actions[bot]
14f0321d7c
chore: update proto/version to v2.3000.1035715252 ( #317 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-23 01:56:01 -03:00
Renato Alcara
b65a8a334b
chore: resolve merge conflict in messages-send.ts (comment-only)
...
Conflict was between Portuguese and English comment for phash/DSM block.
Kept HEAD (our) version.
Co-Authored-By: Renato Alcara
2026-03-23 01:54:46 -03:00
Renato Alcara
28e9e5b912
feat: implement view-once message sending and receiving
...
- Add viewonce-image/video/audio to MEDIA_PATH_MAP and MEDIA_HKDF_KEY_MAPPING
- messages-send: use viewOnceMessageV2 wrapper, omit companion devices for DSM
(server auto-generates <unavailable type="view_once"/> for linked devices)
- messages-send: fix mediatype detection by unwrapping viewOnce before getMediaType
- messages-recv: handle <unavailable type="view_once"/> sync from primary device
- messages-recv: note — do NOT send view_once_read from linked device
Co-Authored-By: Renato Alcara
2026-03-23 01:53:55 -03:00
Renato Alcara
962e7de0bf
chore: mark upstream commits as reviewed ( 3841abca35 ad5ea817f7 d077902695 c4e5d1262a 802d5f6efa)
...
- 3841abca35 / ad5ea817f7 : WA version updates — applied separately via our own version bumps
- d077902695 : WA version update — same as above
- c4e5d1262a : Fix ack handling — high-risk 2718-line diff in messages-recv.ts, intentionally skipped
- 802d5f6efa : Fix mentions regression — already covered by existing rsalcara contextInfo logic
- 6afde71691 : feat groups mentionAll — applied in previous commit
2026-03-23 01:53:00 -03:00
Renato Alcara
c6cb29fd80
feat: groups mention all + fix view-once upload path and wrapper
...
- Add mentionAll?: boolean to Mentionable type (upstream 6afde71691 )
- Set contextInfo.nonJidMentions=1 for @everyone group mentions
- Use viewOnceMessageV2 (field 55) wrapper instead of legacy viewOnceMessage (field 37)
- Set viewOnce=true on inner imageMessage/videoMessage/audioMessage
- Route view-once media uploads to /o1/mms/* CDN via mediaTypeOverride
Co-Authored-By: Renato Alcará
2026-03-23 01:52:43 -03:00
Renato Alcara
a283d858c6
docs: rewrite INTERACTIVE_MESSAGES.md — complete API guide
...
Full rewrite covering all 8 interactive message types:
1. Menu Texto
2. Botões Quick Reply (tested up to 16 buttons)
3. Botões CTA — URL, Copy, Call
4. Lista Dropdown (10 sections × 3 rows = 30 items max)
5. Enquete/Poll
6. Apenas Botões Reply sem CTA
7. Apenas CTAs sem Quick Reply
8. Carrossel com Imagens (up to 10 cards)
Each type includes:
- Complete curl example with realistic data
- All parameters documented with types and limits
- Webhook payload structure received on click/select
- JavaScript helpers to parse each response type
Also includes:
- Platform compatibility table (Android / iOS / WA Web)
- Universal webhook router for all interactive response types
- Complete limits table per message type
- Account restrictions (hosted vs non-hosted)
Co-Authored-By: Renato Alará
2026-03-23 01:27:45 -03:00
Renato Alcara
9c626801b0
docs: add hosted account restriction warning to VIEW_ONCE.md
...
Accounts registered as hosted (Meta Business Cloud API) have view-once
blocked by the WA server for all clients (Android, iOS, Web).
This is a server-side policy with no code workaround.
Added prominent warning block in section 1 and dedicated row in the
limitations table.
Co-Authored-By: Renato Alcará
2026-03-23 01:17:27 -03:00
Renato Alcara
4ca1878705
docs: add VIEW_ONCE.md — view-once implementation guide
...
Complete guide for the view-once (visualização única) feature:
- Send examples (curl) for image, video and audio
- Webhook payload structure with key.isViewOnce detection
- JavaScript helpers to identify and access view-once media
- Frontend/CRM rendering guide with placeholder after open
- Implemented code with inline explanations
- Full send/receive flow diagram
- Known limitations and validation checklist
Co-Authored-By: Renato Alcara
2026-03-23 01:12:36 -03:00
Renato Alcara
452df5d409
Feat/view once receive ( #316 )
...
* fix: detect view-once media (image/video/audio) on stanza 1 for linked devices
2026-03-23 00:38:05 -03:00
Renato Alcara
e633d62a3b
chore: update WhatsApp Web version to v2.3000.1035697879 ( #315 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-22 06:22:56 -03:00
github-actions[bot]
2a321b881e
chore: update proto/version to v2.3000.1035693752 ( #314 )
...
Co-authored-by: rsalcara <rsalcara@users.noreply.github.com >
2026-03-22 01:46:05 -03:00
Rajeh Taher
802d5f6efa
messages: Fix regression where missing contextInfo caused no mentions
2026-03-22 02:43:03 +02:00
Renato Alcara
e0038bde36
chore: update WhatsApp Web version to v2.3000.1035675348 ( #313 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-21 06:22:45 -03:00